Create Lead

Create a new lead. Email and phone must be unique within your business.

Authentication

X-API-Keystring
Your API key from [Dashboard → Settings → API Keys](https://dashboard.bookedin.ai/settings)

Request

This endpoint expects an object.
contactobjectOptional
Lead contact information
sourceenumOptionalDefaults to API
metamap from strings to anyOptional
Custom metadata fields
pipeline_idstringOptional
Assign lead to a pipeline
list_idstringOptional
Assign lead to a list

Response

Lead created
idstring
Unique lead identifier
business_idstring
Business this lead belongs to
contactobject
Lead contact information
sourceenum
How this lead was created
metamap from strings to any
Custom metadata fields. Store any additional data about the lead.
dataobject
Lead status and scoring data
pipeline_idstring
Pipeline this lead is assigned to
pipeline_stageobject
Current pipeline stage information
created_atdatetime

Errors

400
Bad Request Error