Creates a new lead in a campaign. The lead will be queued for outbound calling according to the campaign’s schedule and retry settings.
Endpoint
POST /user/lead
Request
Lead’s phone number in E.164 format (e.g., +1234567890).
ID of the campaign to add the lead to.
Custom variables to pass to the call. Variable names must match those defined on the campaign’s assistant.
Email address of the customer.
Whether to allow creating a duplicate lead with the same phone number in the same campaign.
Additional contact numbers to attempt if the primary number does not answer.Show Secondary contact properties
Phone number in E.164 format.
Variables for this secondary contact.
Response
The created lead.
Unique identifier of the lead.
Campaign the lead belongs to.
Lead’s phone number in E.164 format.
Variables associated with the lead.
Lead status — always created initially.
Abbreviated campaign info.
Secondary contacts associated with this lead.Show Secondary contact properties
Phone number in E.164 format.
Variables for this contact.
Example
curl -X POST "https://portal.intellixent.ai/api/user/lead" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"phone_number": "+1234567890",
"campaign_id": 1,
"variables": {
"customer_name": "John Doe",
"email": "john.doe@example.com"
}
}'
{
"message": "Lead created successfully",
"data": {
"id": 1,
"campaign_id": 1,
"phone_number": "+1234567890",
"variables": {
"customer_name": "John Doe",
"email": "john.doe@example.com"
},
"status": "created",
"created_at": "2025-06-30 11:53:20",
"updated_at": "2025-06-30 11:53:20",
"campaign": {
"id": 1,
"name": "My new campaign"
},
"secondary_contacts": []
}
}