POST
/
api
/
v0
/
customers
Create a new customer
curl --request POST \
  --url https://api.devdraft.ai/api/v0/customers \
  --header 'Content-Type: application/json' \
  --header 'x-client-secret: <api-key>' \
  --data '{
  "first_name": "John",
  "last_name": "Doe",
  "email": "john.doe@example.com",
  "phone_number": "+1-555-123-4567",
  "customer_type": "Individual",
  "status": "ACTIVE"
}'

Authorizations

x-client-secret
string
header
required

Your secret API key. Keep this secure and never expose it in client-side code.

Body

application/json

Customer creation data

The body is of type object.

Response

201

Customer created successfully