POST
/
customer
/
cURL
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<email>
required

The client's email address.

Response

Created

id
integer

The newly created client's unique identifier.

Example:

766

email
string<email>

The newly created client's email address.

Example:

"jsmith@example.com"

auth_token
string

The authorization token for the client.

Example:

"86706c507e9ca032c91771a26819d69e91402fc9"