Skip to main content
POST
/
customer
cURL
curl --request POST \
  --url https://stage.tonder.io/api/v1/customer/ \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "[email protected]"
}
'
{
  "id": 766,
  "email": "[email protected]",
  "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.

Authorizations

Authorization
string
header
required

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.

auth_token
string

The authorization token for the client.

Example:

"86706c507e9ca032c91771a26819d69e91402fc9"