> ## 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.

# List contacts

> Page through a campaign's contacts, each with its status, its tries and its call's result. Filter by call length and by post-call analysis fields.

Returns a page of the campaign's contacts, each with its status, how many times it was called, and the result of its latest call: its length, summary and [post-call analysis](https://docs.verbeo.ai/guides/post-call-analysis.md).

Contacts come back in the order they were imported, batch by batch. The import saves 5,000 lines at a time (fewer when the lines are long), and the contacts of one batch come back in no set order among themselves, not in file order. To match a contact to your own record, give it your id in `custom_data`.

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

> [!NOTE]
>
> This read is a `POST` because a list query is a document: the filters arrive typed as themselves. It changes nothing.

## Path

**id** `string` *required*

UUID of the campaign.

## Body

Every field is optional, and the filters all apply together.

**page** `number` (default: 1)

1-based page number. Pass back `pagination.next_cursor` from the previous response.

**size** `number` (default: 100)

Page size, between `1` and `1000`.

**duration\_min** `number | null`

The shortest call to include, in seconds. A contact not called yet counts as `0`.

**duration\_max** `number | null`

The longest call to include, in seconds.

**analysis\_filters** `object[]`

Up to 50 filters on the fields of the call's [post-call analysis](https://docs.verbeo.ai/guides/post-call-analysis.md) (`call_log.analysis_data`). Each has a `type`, the `name` of the field (1 to 255 characters), and what to match: see [Analysis filters](#analysis-filters).

### Analysis filters

| `type` | Also takes | Keeps a contact whose field |
| - | - | - |
| `string` | `value`: text, up to 255 characters | contains `value`, case-insensitive. An empty `value` keeps every contact. |
| `number` | `min`, `max`: a number, text holding one, empty or `null` | is a number from `min` to `max`, inclusive. A bound left out or empty is no bound. |
| `boolean` | `value`: `true`, `false` or `"missing"` | is true, is false, or has no value. A contact not called yet has no value. |
| `enum` | `values`: up to 100 texts | is one of `values`. `"__missing__"` among them also keeps a contact whose field has no value. |

## Request

```bash theme={null}
curl -X POST "https://api.verbeo.ai/v2/campaign/0175091d-2c3b-4aef-8c45-dbbe24f7b3ff/contacts" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "page": 1,
    "size": 500,
    "duration_min": 30,
    "analysis_filters": [
      { "type": "boolean", "name": "appointment_booked", "value": true },
      { "type": "enum", "name": "interest", "values": ["high", "medium"] }
    ]
  }'
```

## Response

`200 OK`. Standard envelope plus pagination — see [Responses](https://docs.verbeo.ai/api-reference/responses.md#list-responses-and-pagination). `next_cursor` is the next **page number**, or `null` on the last page; a page past the last one is an empty list.

```json theme={null}
{
  "success": true,
  "data": [
    {
      "id": "3c6e1a2b-7f4d-4b9e-8a1c-5d2f0e9b7a6c",
      "campaign_id": "0175091d-2c3b-4aef-8c45-dbbe24f7b3ff",
      "phone_number": "+14155550123",
      "contact_name": "Ann Lee",
      "custom_data": { "company": "Acme Corp" },
      "status": "completed",
      "attempt_count": 1,
      "last_attempt_at": "2026-11-02T09:12:03.456789+00:00",
      "next_retry_at": null,
      "disconnection_reason": "user_hangup",
      "error_message": null,
      "call_log_id": "b7a3c1e4-94f2-4c9d-a8e0-5d9f6c2a1b34",
      "created_at": "2026-11-02T09:00:05.123456+00:00",
      "updated_at": "2026-11-02T09:14:41.654321+00:00",
      "call_log": {
        "analysis_data": { "appointment_booked": true, "interest": "high" },
        "summary": "Ann booked a renewal call for Friday.",
        "duration": 94,
        "disconnection_reason": "user_hangup"
      }
    }
  ],
  "pagination": { "total": 1, "count": 1, "next_cursor": null }
}
```

**status** `string` *required*

Where the contact is: see the statuses below.

**contact\_name** `string | null` *required*

`null` when its line had none.

**custom\_data** `object` *required*

The line's `custom_data`, or `{}`.

**attempt\_count** `number` *required*

How many times it has been called.

**last\_attempt\_at** `string | null` *required*

When it was last called.

**next\_retry\_at** `string | null` *required*

When it is called again, while it is `retry_scheduled`.

**disconnection\_reason** `string | null` *required*

How its latest call ended, e.g. `user_hangup`, `dial_no_answer`, `voicemail_reached`.

**call\_log\_id** `string | null` *required*

Its latest call: read it in full with [Get call](https://docs.verbeo.ai/api-reference/calls/get-v2.md).

**call\_log** `object | null` *required*

That call's `analysis_data`, `summary`, `duration` (seconds) and `disconnection_reason`. `null` before the first call.

| Contact status | Meaning |
| - | - |
| `pending` | Not called yet. |
| `calling` | A call is under way. |
| `completed` | Reached. |
| `failed` | Not reached, and no try is left. |
| `retry_scheduled` | Not reached yet: called again at `next_retry_at`. |
| `cancelled` | The campaign was cancelled before the contact was reached. |

## Errors

| Code | Status | When |
| - | - | - |
| `VALIDATION_FAILED` | 422 | A field breaks its rule, for example `page: must be at least 1`, `size: must be at most 1,000`, `duration_min: must be at least 0`, `analysis_filters: must have at most 50 filters`, `analysis_filters.0.name: required`, `analysis_filters.0.min: must be a number`, or a `type` that is not one of the four. |
| `NOT_FOUND` | 404 | `Campaign not found`. |

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.