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
idstringOptional
Unique lead identifier
business_idstringOptional
Business this lead belongs to
contactobjectOptional
Lead contact information
sourceenumOptional
How this lead was created
metamap from strings to anyOptional
Custom metadata fields. Store any additional data about the lead.
dataobjectOptional
Lead status and scoring data
pipeline_idstringOptional
Pipeline this lead is assigned to
pipeline_stageobjectOptional
Current pipeline stage information
created_atdatetimeOptional

Errors

400
Bad Request Error