Skip to main content
POST
/
customers
Create Customer
curl --request POST \
  --url https://api.antei.com/customers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "email": "<string>",
  "tax_id": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "email": "<string>",
  "tax_id": "<string>"
}
Use this endpoint to create a new customer with necessary attributes such as name, tax ID, country, and optional metadata fields. Make sure to pass a valid payload in the request body. On success, the created customer object is returned.

Authorizations

Authorization
string
header
required

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

Body

application/json

Customer payload

name
string
required
email
string
required
tax_id
string

Response

Customer created successfully

id
string
required

Unique identifier for the customer

name
string
required

Name of the customer

email
string
required

Email address of the customer

tax_id
string

Tax ID associated with the customer