POST
/
v1
/
leads
Create Lead
curl --request POST \
  --url https://api.eqho.ai/v1/leads \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "list_ids": [
    "<string>"
  ],
  "lead": {
    "created_at": "2021-08-25T00:00:00+00:00",
    "email": "[email protected]",
    "first_name": "Jane",
    "last_name": "Smith",
    "phone": "+18015551831",
    "phone_extension": "123"
  }
}'
{
  "created_at": "2021-08-25T00:00:00+00:00",
  "email": "[email protected]",
  "first_name": "Jane",
  "last_name": "Smith",
  "phone": "+18015551831",
  "phone_extension": "123"
}

Authorizations

X-API-KEY
string
header
required

Body

application/json
lead
object
required
Example:
{
"created_at": "2021-08-25T00:00:00+00:00",
"email": "[email protected]",
"first_name": "Jane",
"last_name": "Smith",
"phone": "+18015551831",
"phone_extension": "123"
}
list_ids
string[] | null

Response

Successful Response

phone
string
required
_id
string | null
account_id
string | null
first_name
string | null
last_name
string | null
email
string | null
phone_extension
string | null
call_now
boolean | null
list_ids
string[] | null
timezone
string | null
default:US/Mountain
extracted_data
object | null
custom_fields
object | null
enabled
boolean | null
default:true
created_at
string<date-time> | null
created_by
string | null
campaign_info
CampaignInfo · object[] | null
history
object | null