Skip to main content
POST
Create a new lead for a specific campaign
Legacy endpoint - deprecated. Unversioned endpoints are scheduled for removal on July 31, 2026. A public v1 replacement is not currently listed in the v1 reference. This endpoint remains available for existing integrations until then.
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 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}}:
In your agent prompt, reference these as {{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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

campaignId
string
required

ID of the campaign

Body

application/json
name
string
required

Name of the lead

Example:

"John Doe"

phoneNumber
string
required

Phone number without country code

Example:

9876543210

organisationId
string
required

Organisation ID to which the lead belongs (string of length 14)

Example:

"org_abc123xyz789"

campaignId
string
required

Campaign ID to which the lead is associated

Example:

5

countryCode
string

Country code of the lead. Default is "+91".

Example:

"+91"

notes
object

Optional notes JSON for the lead. Maximum 15 top-level keys.

Example:

Response

Lead created successfully

id
string
required

Signed lead ID

Example:

"lead_abc123"