Skip to main content
GET
List a campaign's leads

Authorizations

Authorization
string
header
required

A workspace API key from Workspace settings > API keys, sent as Authorization: Bearer cl_api_.... A Read only key can call the GET endpoints; every other method needs a Full access key.

Path Parameters

campaignId
string
required
Required string length: 1 - 128

Query Parameters

limit
integer
default:20
Required range: 1 <= x <= 100
cursor
string
Required string length: 1 - 1000
state
enum<string>

in_progress for leads that may still be called, finished for the others.

Available options:
in_progress,
finished
dispositions
enum<string>[]

Comma-separated, such as completed,do_not_call.

Required array length: 1 - 15 elements
Available options:
completed,
removed,
do_not_call,
campaign_ended,
cancelled,
attempt_limit_reached,
callback_limit_reached,
redirect_limit_reached,
permission_not_granted,
permission_declined,
permission_request_blocked,
permission_expired,
invalid_callback_time,
invalid_redirect_number,
could_not_process
recipientId
string
Required string length: 1 - 128

Only leads whose number, name or id contains this text.

Maximum string length: 200

Response

Success.

data
object[]
required
pagination
object
required