Skip to main content
POST
Create lead

Authorizations

Authorization
string
header
required

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

Body

application/json
phone_number
string
required

The phone number of the lead in E.164 format (e.g. +1234567890)

campaign_id
integer
required

The ID of the campaign to create the lead for

variables
object

The variables to pass to the lead

allow_dupplicate
boolean

Whether to allow duplicate leads in a campaign.

Response

200 - application/json

Lead created successfully

message
string
default:Lead created successfully

The message of the response

data
object

The lead data object