Skip to main content
GET
List campaign leads

Headers

x-api-key
string | null

Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.

Path Parameters

campaign_id
string
required

Query Parameters

page_size
integer
default:100

How many items to return at most.

Required range: 1 <= x <= 500
search
string | null

Only leads whose ID, user ID or phone number contains this text.

Maximum string length: 100
status
enum<string> | null

in_progress for leads still being called, finished for leads that won't be called again.

Available options:
in_progress,
finished
disposition
enum<string>[] | null

Only leads that finished in one of these ways.

Available options:
campaign_ended,
removed,
do_not_call,
completed,
cancelled,
suppressed,
attempt_ceiling_reached,
callback_ceiling_reached,
redirect_ceiling_reached,
permission_not_granted,
permission_declined,
permission_request_blocked,
permission_expired,
callback_time_invalid,
redirect_number_invalid,
couldnt_process
cursor
string | null

Used for fetching next page. Cursor is returned in the response.

Response

Successful Response

leads
LeadView · object[]
required
next_cursor
string | null
required
has_more
boolean
required