Create a customer
POST
https://api.getstarted.ae/v1/customersCreates a customer: the account on your platform that incorporations, people and entities belong to.
- Use
externalReferenceto store your own account ID. It is returned on every read and is unique per environment.
Body parameters
namestringrequiredDisplay name for the customer.
emailstringrequiredPrimary contact email.
externalReferencestringYour ID for this customer. Must be unique.
metadataobjectUp to 20 string key-value pairs for your own use.
Responses
201Created. Returns the object shown in the example.400unknown_fieldThe body contains a key the endpoint does not accept.409duplicate_external_referenceAnother customer already uses thisexternalReference.422invalid_valueA value fails type or format validation.- Every endpoint can also return
401for a missing or invalid key. See Errors.
curl -X POST "https://api.getstarted.ae/v1/customers" \
-H "Authorization: Bearer $GETSTARTED_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Northwind Labs",
"email": "ops@northwindlabs.com",
"externalReference": "acct_48213",
"metadata": {
"plan": "growth"
}
}'Response · 201
{
"id": "cus_01J9ZK4R7Q2M8X",
"object": "customer",
"name": "Northwind Labs",
"email": "ops@northwindlabs.com",
"externalReference": "acct_48213",
"metadata": {
"plan": "growth"
},
"livemode": false,
"createdAt": "2026-09-20T08:14:22Z"
}