API Reference
Create lead
Create a new lead in the Autocalls system
POST
This endpoint allows you to create a new lead in the Autocalls system.
Request body
The phone number of the lead in E.164 format (e.g. +1234567890)
The ID of the campaign to create the lead for
The variables to pass to the lead
Whether to allow duplicate leads in a campaign.
Response fields
The message of the response
The data of the response
The id of the lead