Campaign Leads
Add a Lead
deprecated
Add a single lead to an existing campaign.
POST
Create a new lead for a specific 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.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the campaign
Body
application/json
Name of the lead
Example:
"John Doe"
Phone number without country code
Example:
9876543210
Organisation ID to which the lead belongs (string of length 14)
Example:
"org_abc123xyz789"
Campaign ID to which the lead is associated
Example:
5
Country code of the lead. Default is "+91".
Example:
"+91"
Optional notes JSON for the lead. Maximum 15 top-level keys.
Example:
Response
Lead created successfully
Signed lead ID
Example:
"lead_abc123"
Create a new lead for a specific campaign