Campaign Leads
Get Campaign Lead
Fetch a single campaign lead record, including contact data, call status, and a reference to its produced call log.
GET
Get a campaign lead
Returns the record for a single campaign lead: the contact
phone_number, the metadata object that carries dynamic variables for the agent (such as customer_name or product), the lead’s current status in the campaign queue (pending, in_progress, completed, failed, removed), the timestamp it was enrolled, and, once a call has been placed, the call_log_id you can use to fetch the produced call log through Get Call Log.
When to use this
- Per-lead troubleshooting: confirm the dynamic variables sent to the agent for a specific contact match what was expected.
- Status polling: check whether a specific lead has been dialled yet without scanning the entire campaign.
- CRM sync: pull the lead’s final status and call log reference to write back the outcome into the originating CRM.
campaign_id instead.
Path parameters
| Parameter | Description |
|---|---|
id | The campaign-lead ID, for example cmp_5tw8vz2rnx1q. This is the ID returned when the lead was uploaded, it is distinct from the underlying call log ID. |
Errors
404 Not Foundis returned when the lead does not exist or has been removed.403 Forbiddenis returned when the API key cannot read campaign data on this workspace.
Request
Response
Related endpoints
- Update Campaign Lead: correct contact data or metadata before the call is placed.
- Remove Campaign Lead: remove the lead from the queue.
- Get Call Log: retrieve the call log produced for this lead.
Authorizations
Pass your API key as a Bearer token in the Authorization header.
Path Parameters
Response
Success.
Example:
"lead_abc123"
Example:
"Priya Sharma"
Example:
"+919876543210"
Example:
"cmp_xyz789"
Example:
"completed"
Example:
{
"loan_amount": "250000",
"product": "home_loan"
}
Example:
"log_abc123"
Example:
"2024-03-01T10:00:00.000Z"
Get a campaign lead