POST
/
customer
/
curl --request POST \
  --url https://stage.tonder.io/api/v1/customer/ \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "jsmith@example.com"
}'
{
  "id": 766,
  "email": "jsmith@example.com",
  "auth_token": "86706c507e9ca032c91771a26819d69e91402fc9"
}

The Authorization needs to be in the following format:

Authorization: Token <YOUR_API_KEY>

Use this endpoint to create new customers by providing their email addresses.

Body

application/json
email
string
required

The client's email address.

Response

201 - application/jsons
id
integer

The newly created client's unique identifier.

email
string

The newly created client's email address.

auth_token
string

The authorization token for the client.