API reference

Profiles

Create a profile

Creates a profile for one of your customers. Requires an account-wide key; profile-scoped keys cannot create profiles.

Required permission: `connections:write`

POST/v1/profilesconnections:write

Request

Authorization

Send your API key as a Bearer token in the Authorization header.

Headers

Idempotency-Keystringoptional

A unique key so a retried request is not applied twice. Stored for 24 hours.

Request body

namestringrequired

Display name, usually your customer’s name.

descriptionstringoptional

Free-form note about this customer.

Response

Returns 201.

Profilerequired

Errors

Failures use the standard error format.

StatusCodeWhen it happens
400invalid_requestThe request body or query string failed validation. The message names the offending field.
401invalid_api_keyThe key does not exist, was revoked, or is malformed. Keys start with cdyn_live_.
403insufficient_permissionThe key is missing the scope this endpoint needs, for example posts:write on a readonly key.
403plan_limitA plan quota was exhausted. The response carries entitlement, usage, and limit so you can surface the reason.
429rate_limit_exceededToo many requests for this key. Honour the Retry-After header before retrying.
500internal_errorSomething failed on our side. Retry with the same Idempotency-Key; report the requestId if it persists.