Endpoint
POST /user/lead
Request
string
required
Lead’s phone number in E.164 format (e.g.,
+1234567890).integer
required
ID of the campaign to add the lead to.
object
Custom variables to pass to the call. Variable names must match those defined on the campaign’s assistant.
boolean
Whether to allow creating a duplicate lead with the same phone number in the same campaign.
array
Additional contact numbers to attempt if the primary number does not answer.
Response
string
Confirmation message.
object
The created lead.
Example
200 Response