> ## Documentation Index
> Fetch the complete documentation index at: https://docs.verbeo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Contact counts

> How many of a campaign's contacts are in each status: pending, calling, completed, failed, waiting for a retry, cancelled.

Returns how many of the campaign's contacts are in each status. Every status is in the answer, with `0` where there are none. For the campaign's own counters and status, read [Get campaign](https://docs.verbeo.ai/api-reference/campaign/get.md).

**Who may call it:** any API key of the workspace; in the dashboard, any member.

## Path

**id** `string` *required*

UUID of the campaign.

## Request

```bash theme={null}
curl "https://api.verbeo.ai/v2/campaign/0175091d-2c3b-4aef-8c45-dbbe24f7b3ff/stats" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Response

`200 OK`.

```json theme={null}
{
  "success": true,
  "data": {
    "pending": 48660,
    "calling": 12,
    "completed": 1012,
    "failed": 238,
    "retry_scheduled": 76,
    "cancelled": 0
  }
}
```

The statuses are those of [List contacts](https://docs.verbeo.ai/api-reference/campaign/contacts.md#response).

## Errors

| Code | Status | When |
| - | - | - |
| `NOT_FOUND` | 404 | `Campaign not found`. |
| `VALIDATION_FAILED` | 422 | `id` is not a UUID: `must be a valid uuid`. |

And the [errors every route can give](https://docs.verbeo.ai/api-reference/campaign/overview.md#errors-every-route-can-give).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.