cURL
curl --request POST \ --url https://api.donehq.dev/v1/customers \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "external_id": "<string>" } '
{ "name": "<string>", "external_id": "<string>", "created_at": "2023-11-07T05:31:56Z" }
Creates a new customer record. external_id must be unique within your account.
external_id
API token. Create one from the dashboard.
Display name for this customer.
1
Your internal identifier for this customer. Must be unique within your account.
Customer created
Your internal identifier for this customer. Unique per API user.