Explicitly link a readable client or atomically create a client

Requires clients:read and clients:write. Name is trimmed without splitting or fabricating a surname. Contact duplicates are allowed on explicit creation; matches never auto-link. A generic external reference is optional for creation and required for explicit linking, scoped to current business and account across its API keys. It is separate from clinic externalId and editable source fields. An existing stale/private/deleted mapped target refuses rather than recreates. Exact retries return the original minimal outcome after fresh authorization. Applicable configured client-create webhooks are refused before writes, as is an account that holds a membership of a team role that no longer exists (422). Answers 503 until client matching is switched on for the environment; existing create routes are unchanged.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
create
object
externalReference
object
required
Headers
string
required
length between 1 and 100
Responses

201

New client and details created atomically with audit, optional reference and retry command.

400

Invalid payload or missing idempotency key.

403

Current account scope or creation limit refused.

404

Client, details or mapped target not currently accessible.

409

Idempotency payload conflict or external reference rebind refused.

422

The practice has a webhook on client creation, or the key's account holds a membership of a team role that no longer exists (unsupported_configuration).

503

Disabled or repository unavailable; no partial creation.

Language
Credentials
Bearer
API Key
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json