POST
/
customers
curl --request POST \
  --url https://app.monterey.ai/api/v1/customers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "email": "<string>",
  "segments": [
    "<string>"
  ]
}'
{
  "id": "<string>",
  "name": "<string>",
  "email": "<string>"
}

Authorizations

Authorization
string
headerrequired

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

Body

application/json
name
string
required
email
string
required
segments
string[]

A list of segment labels to apply to the customer

Response

201 - application/json
id
string
name
string
email
string