Create a customer
POST/customers
Create a customer.
Counts against the plan's customer limit — a full account answers 402 with
code: plan_limit_exceeded rather than silently discarding the record.
Creating a customer fires the Studio customer changed trigger and writes a journey event, exactly as the console does, so automations react to API-created records the same way.
Request
Responses
- 201
- 400
- 401
- 402
- 403
Customer created.
Response Headers
Correlation id for this request. Quote it when reporting a problem.
The request was malformed, or a parameter was rejected.
Response Headers
Correlation id for this request. Quote it when reporting a problem.
No token, an expired token, or a credential that has been revoked.
Response Headers
Correlation id for this request. Quote it when reporting a problem.
A plan ceiling or a locked feature stopped an otherwise valid request.
Response Headers
Correlation id for this request. Quote it when reporting a problem.
Refused. Either the credential does not hold the scope this endpoint needs (code: insufficient_scope), or the account's IP allow-list does not include the calling address (code: ip_not_allowed).
Response Headers
Correlation id for this request. Quote it when reporting a problem.