Create lead
Leads
Create lead
Create a new lead in the Aiplocalls system
POST
Create lead
This endpoint allows you to create a new lead in the Aiplocalls system.Documentation Index
Fetch the complete documentation index at: https://docs.aiployees.com/llms.txt
Use this file to discover all available pages before exploring further.
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
Custom variables to pass to the lead. You can include any variables that are defined on your assistant (see Call variables). The examples below are just for illustration — use your own variable names as configured in the assistant settings.
Whether to allow duplicate leads in a campaign.
Array of secondary contact leads to create along with the main lead
Response
The message of the response
The lead data object

