post
https://connect.agendapro.com/v3/clients
This endpoint creates a new client for the company.
Important Notes
- At least one of
last_name,email, orphoneis required by business logic. - Email is normalized to lowercase.
- Phone must follow E.164 format.
second_phoneis stored as sent (no E.164 normalization);photomust be an absolute
http(s)URL;can_bookdefaults totrue.
Errors Dictionary
| Status | Error | Detail | Description |
|---|---|---|---|
| 400 | invalid_body | expected_object | Request body is not a JSON object. |
| 400 | invalid_photo | — | photo is not an absolute http(s) URL (max 2048 characters). |
| 400 | invalid_can_book | — | can_book is not a boolean. |
| 400 | client_missing_contact_info | — | None of last_name, email, phone was sent. |
| 400 | client_invalid_email | — | email is malformed. |
| 401 | unauthorized | invalid_api_key | Missing or invalid Bearer token. |
| 401 | unauthorized | api_config_inactive | API access is inactive for this company. |
| 403 | forbidden | scope_denied | API key lacks clients:write scope. |
| 403 | cross_company_custom_attributes | — | A custom attribute belongs to another company. |
| 429 | rate_limited | burst_limit_exceeded | Per-minute request limit exceeded. |
| 429 | rate_limited | daily_quota_exceeded | Daily request quota exceeded. |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
