Campaign Leads
Add a Lead
Add a single lead to an existing campaign.
POST
Add a lead to a campaign
Adds one lead to a campaign. The lead will be queued for calling according to the campaign’s schedule and concurrency settings.
Dynamic variables via
Pass custom data in the
In your agent prompt, reference these as
Dynamic variables via notes
Pass custom data in the notes object (up to 15 key-value pairs). These become dynamic variables available in the agent’s prompt via {{variable_name}}:
{{loan_amount}}, {{product}}, etc. The agent receives a personalized briefing before every call.
Bulk upload
If you need to add hundreds or thousands of leads at once, use Bulk Upload with a CSV or XLSX file instead.Request
Response
Authorizations
Pass your API key as a Bearer token in the Authorization header.
Body
application/json
Example:
"Priya Sharma"
Example:
"9876543210"
Example:
"cmp_xyz789"
Example:
"+91"
Up to 15 custom key-value pairs. These become dynamic variables in the agent prompt (e.g., {{loan_amount}}).
Example:
{
"loan_amount": "250000",
"product": "home_loan",
"last_contact": "2024-01-15"
}Response
Lead added to campaign.
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"
Add a lead to a campaign