Skip to main content
GET
Get a campaign lead

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
lead_id
string
required

Response

Successful Response

lead_id
string
required
recipient_id
string | null
required

The id given to this recipient when the campaign was created.

phone_number
string
required

The number the lead's next call dials. It changes when the lead moves on to another listed number or the contact asks to be called on a different one.

phone_numbers_index
integer
required

The position in phone_numbers of the number being called.

user_id
string
required

The contact's identity: the user_id submitted in conversation_initiation_client_data, else the lead's phone number.

attempt_count
integer
required

Calls placed, counted against the policy's max_total_calls.

failure_count
integer
required

Failed calls to the current number; resets on a new number.

callback_count
integer
required

Callbacks the contact asked for.

redirect_count
integer
required

Times the contact asked to be called on another number.

do_not_call
boolean
required

Set when the contact asked not to be called, the lead was removed, or the campaign stopped. The lead isn't called again.

terminal_disposition
enum<string> | null
required

Why the lead won't be called again; unset while it may be.

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
created_at_unix
integer | null
required

When the lead joined the campaign; unset on older leads.

updated_at_unix
integer
required
dynamic_variables
Dynamic Variables · object
required

The dynamic variables submitted for the lead, with secrets redacted.

overrides
FlattenedConfigOverrides · object
required

The conversation overrides submitted for the lead.

phone_numbers
string[]

The lead's listed numbers, in calling order.

timezone_override
string | null

The timezone the recipient's calling windows are read in; unset when the lead follows the campaign's.

delivery
LeadDeliveryView · object | null

The lead's latest message delivery; set on message campaigns.