POST
/
leads
/
create
curl --request POST \
  --url https://api.attent.app/v1/leads/create \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "firstName": "John",
  "lastName": "Doe",
  "phone": "+15555555555",
  "customerProfile": "My Customer Profile",
  "timeZone": "America/New_York",
  "email": "example@gmail.com",
  "additionalInfo": {
    "key1": "value1",
    "key2": "value2"
  }
}'
{
  "message": "Lead created successfully."
}

Authorizations

x-api-key
string
header
required

Body

application/json

Lead to create. Phone number must be unique.

The body is of type object.

Response

200
application/json

A lead has been successfully created.

The response is of type object.