Skip to main content
POST
/
v1
/
customers
Create a customer
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"
}

Authorizations

Authorization
string
header
required

API token. Create one from the dashboard.

Body

application/json
name
string
required

Display name for this customer.

Minimum string length: 1
external_id
string
required

Your internal identifier for this customer. Must be unique within your account.

Minimum string length: 1

Response

Customer created

name
string
required
external_id
string
required

Your internal identifier for this customer. Unique per API user.

created_at
string<date-time>
required