cURL
curl --request POST \ --url https://api.done.app/v1/customers \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "external_id": "<string>" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "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.
Your internal identifier for this customer. Must be unique within your account.
1
Customer created
Your internal identifier for this customer. Unique per API user.