# Get proposal count in the same tenant

`GET /api/proposal/count`

Authentication: no security requirement declared for this operation.

Parameters:

- `tenantId` (query, string, optional)
  Type: string

- `organizationId` (query, string, required)
  Type: string

Responses:

- 200: Successfully retrieved the proposal count.

- 400: Invalid query parameters. Please check your input.

- 500: An error occurred while retrieving the proposal count.

## Examples

### cURL

```bash
curl -X GET 'http://localhost:3000/api/proposal/count?organizationId=string'
```

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/proposal/count?organizationId=string', {
  method: 'GET',
});

const data = await response.text();
```

### Python

```python
import requests

response = requests.get('http://localhost:3000/api/proposal/count?organizationId=string')
print(response.text)
```
