- API keys Create, list, rotate and revoke the API keys of a workspace. (4)
- Workspaces and members The workspace, its members, data retention, the export and the deletion status. (5)
- Groups Groups of members and who is in each. (8)
- Invitations The invitations waiting to be accepted. (1)
- Actions Corrective actions (follow-ups): list, create, update, complete and comment on them. (18)
- Tags The tags of a workspace: list, rename, recolour, merge and delete. (5)
- Templates The template gallery a workspace can use. (2)
- Kits The template kits a workspace can subscribe to. (1)
- Policy and settings Workspace policy, settings and usage. (5)
- Webhooks The webhooks of a workspace, the events they can send and their deliveries (read only with a key). (6)
- Audit log Read and export the audit log of a workspace. (3)
- Email deliveries The emails the workspace sent and what happened to each. (1)
- Billing The plan, the plans on offer and an enterprise inquiry. (2)
Error format
Every response that is not a success has this body. Match on error.code and, for the reason, on error.details[0].code; the message is for people and is translated. Quote request_id (also in the x-request-id header) when you ask for help.
errorobject requiredcodestring, one of: "bad_request", "validation_failed", "unauthorized", "invalid_credentials", "forbidden", "not_found", "conflict", "item_removed", "expired", "email_not_verified", "payload_too_large", "unsupported_media_type", "rate_limited", "limit_exceeded", "internal_error", "not_implemented", "service_unavailable", "ceiling_reached", "channel_paused", "gone", "token_expired", "session_revoked", "session_expired", "precondition_failed", "app_update_required" requiredmessagestring required Human-readable, localized. Do not match on it; usecode.request_idstring required Also returned in thex-request-idresponse header.detailsarray of objectpathstring requiredcodestring (up to 200 characters) required A validation keyword;csrf_invalidonforbiddenwhen a cookie-authenticated state-changing request fails the Origin, Sec-Fetch-Site orx-csrf-tokencheck;last_owner/personal_workspace_owneronconflictfor a workspace membership change that would remove a workspace's only owner or change a personal workspace's owner;oauth_email_registeredonconflictwhen an OAuth sign-in's unverified email already belongs to another account; or, onlimit_exceeded, the entitlement key and the limit or rejected value, in two entries:{path: '/entitlement', code: <entitlement key>}and{path: '/limit', code: <the limit or the rejected value, as a string>}(the rejected value is truncated to 100 characters before it ever reaches this field).site_idstring (uuid) Onsite_delete_unconfirmed, the stored site’s id (the same as inpath). Other details may carry fields of their own; a client ignores those it does not know.valid_fromstring (date-time) or null Onevent_id_expired, when the server first received the move key; null for a key it never received (refused for itsmoved_at). UTC instant (ISO 8601, ending in Z). Nothing in the API is a local time.valid_untilstring (date-time) Onevent_id_expired, when the move key’s validity period ended (90 days aftervalid_from, or aftermoved_atfor a key never received). UTC instant (ISO 8601, ending in Z). Nothing in the API is a local time.confirming_untilstring (date-time) Onintent_closedwhile an entry file’s confirmation runs, the instant (UTC) its mark lapses at the latest; the answer then carriesRetry-Aftertoo. UTC instant (ISO 8601, ending in Z). Nothing in the API is a local time.alternativeone of: "kiosk_pin", "none" On a phone punch refused for its location (location_consent_required,location_required,location_declined), where the worker can mark instead:kiosk_pin(a clock or kiosk at the workplace, with their PIN) ornone(they ask their employer; a supervisor can record the time). The error’smessagesays it in the person’s language.
projectobject Only on a project write’s412 precondition_failed/stale_project: the project as the caller reads it now (what itsGETanswers,ProjectDetail), with itsETagin the response header, so a client merges without reading it again.entryobject Only on an entry move’s409 conflict/event_id_expired: the entry as the caller reads it now, with its trail (what the move answers,EntryWithTrail). No move was made.keyobject Only onevent_id_expired: the move key as a move’s answer names it (EntryMoveKey), withstatus: "expired".
{
"error": {
"code": "validation_failed",
"message": "Some fields are not valid.",
"request_id": "6f1c0e1e-8d3b-4c55-9f3a-0b1d2c3e4f5a",
"details": [
{
"path": "/name",
"code": "maxLength"
}
]
}
}
The specification
The whole specification, with every operation of the platform, is served as JSON at GET /api/clist/v1/openapi.json. This reference shows only the operations an API key can call.