Get lead
Get one lead of an outbound campaign.
Path parameters
campaign_id
lead_id
Headers
xi-api-key
Response
Successful Response
lead_id
phone_number
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
The position in phone_numbers of the number being called.
user_id
The contact’s identity: the user_id submitted in conversation_initiation_client_data, else the lead’s phone number.
attempt_count
Calls placed, counted against the policy’s max_total_calls.
failure_count
Failed calls to the current number; resets on a new number.
callback_count
Callbacks the contact asked for.
redirect_count
Times the contact asked to be called on another number.
do_not_call
Set when the contact asked not to be called, the lead was removed, or the campaign stopped. The lead isn't called again.
updated_at_unix
dynamic_variables
The dynamic variables submitted for the lead, with secrets redacted.
overrides
The conversation overrides submitted for the lead.
recipient_id
The id given to this recipient when the campaign was created.
phone_numbers
The lead's listed numbers, in calling order.
terminal_disposition
Why the lead won’t be called again; unset while it may be.
created_at_unix
When the lead joined the campaign; unset on older leads.
delivery
The lead’s latest message delivery; set on message campaigns.
Errors
422
Leads Get Request Unprocessable Entity Error