Customers
Create a customer
Creates a customer.
POST
/
v1
/
customers
curl --request POST \
--url https://api.amberflow.io/v1/customers \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"name": "John Doe",
"email": "john@example.com",
"language": "en-US",
"group_id": "grp_pt3vOg59zQGkXXrp"
}'
{
"id": "cus_mtONwIvCywLadgOu",
"created_at": "2024-09-23T12:00:00.000Z",
"name": "John Doe",
"email": "john@example.com",
"language": "en-US",
"group_id": "grp_0JezsPIPQ5rCQpjP"
}
Authorizations
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
curl --request POST \
--url https://api.amberflow.io/v1/customers \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"name": "John Doe",
"email": "john@example.com",
"language": "en-US",
"group_id": "grp_pt3vOg59zQGkXXrp"
}'
{
"id": "cus_mtONwIvCywLadgOu",
"created_at": "2024-09-23T12:00:00.000Z",
"name": "John Doe",
"email": "john@example.com",
"language": "en-US",
"group_id": "grp_0JezsPIPQ5rCQpjP"
}
Assistant
Responses are generated using AI and may contain mistakes.