Skip to main content
POST
List contacts
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. 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.
This read is a POST because a list query is a document: the filters arrive typed as themselves. It changes nothing.

Path

string
required
UUID of the campaign.

Body

Every field is optional, and the filters all apply together.
number
default:"1"
1-based page number. Pass back pagination.next_cursor from the previous response.
number
default:"100"
Page size, between 1 and 1000.
number | null
The shortest call to include, in seconds. A contact not called yet counts as 0.
number | null
The longest call to include, in seconds.
object[]
Up to 50 filters on the fields of the call’s post-call analysis (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

Request

Response

200 OK. Standard envelope plus pagination — see Responses. next_cursor is the next page number, or null on the last page; a page past the last one is an empty list.
string
required
Where the contact is: see the statuses below.
string | null
required
null when its line had none.
object
required
The line’s custom_data, or {}.
number
required
How many times it has been called.
string | null
required
When it was last called.
string | null
required
When it is called again, while it is retry_scheduled.
string | null
required
How its latest call ended, e.g. user_hangup, dial_no_answer, voicemail_reached.
string | null
required
Its latest call: read it in full with Get call.
object | null
required
That call’s analysis_data, summary, duration (seconds) and disconnection_reason. null before the first call.

Errors

And the errors every route can give.