Clienvy API documentation
The Clienvy API lets you manage the resources of an organization programmatically. Every request is authenticated with a bearer token and scoped to a single organization.
Authentication
Every request is authenticated with a bearer token and scoped to an organization.
While logged in to Clienvy, create a token under Settings → API and MCP. Each token is scoped to the permissions you grant it, so you control exactly what the API may do on your behalf.
Send the token in the Authorization header on every request:
Code
Organization header
Clienvy is multi-tenant, so every request must identify which organization it operates on through the
X-Organization-Id header. The value is the organization's UUID. (You may alternatively pass it as
an organization_id query parameter.) A missing or unknown organization results in an HTTP 404.
Pagination
List endpoints are paginated. Select a page with the page query parameter (for example ?page=2). The
page size is set with the per_page parameter (for example ?per_page=200, capped at 500), but only
on endpoints that list per_page among their parameters: an endpoint that documents page alone pages at
a fixed size of its own and ignores per_page. The default page size is 25 items for most endpoints. A
paginated response wraps the items in data and adds a meta object:
Code
Single resources are returned bare (no data wrapper) — only paginated lists are wrapped.
Rate limiting
Requests are limited to 250 per minute. Exceeding the limit returns HTTP 429 Too Many Requests. If a higher limit is required, please contact support.
Errors
The API uses standard HTTP status codes — 401 (not authenticated), 403 (forbidden), 404 (not
found), 422 (validation failed) and 429 (rate limit exceeded). A 422 response lists the offending
fields:
Code
Dates
Timestamps are returned as Y-m-d H:i:s strings (for example 2026-07-17 14:30:00).
Spaces and collections
Spaces are where teams work together; they require the Spaces module. The model has four layers:
- A space holds a tree of nodes. A space is standalone, belongs to a project, or belongs to a project template. A project or template space follows the access of what it belongs to; the spaces of a template are a blueprint that is copied onto every project made from that template.
- A node is a page (a document) or a board. A node shares its UUID with its page or board, so the node ID is also the page or board ID. Pages and boards can be nested under a page.
- A board shows the items of a collection: a custom data type such as tasks, whose fields are the columns. One collection can be shown on several boards, and every item lives on exactly one board.
- A board has one or more views, each a table or a kanban with its own filters, sorting and visible fields.
Reading spaces and working with items needs the space.view permission; changing a space and its pages,
boards and views needs space.edit. Creating a space needs space.create, deleting a space or one of its
nodes needs space.delete. Collections and their fields are managed with full access.
Block content
Page content and item descriptions (content) are rich-text documents stored as a list of
ProseMirror nodes, as produced by the Tiptap editor, without the surrounding
doc node. Supported nodes are paragraph, heading (level), bulletList, orderedList,
listItem, taskList, taskItem (checked), text and hardBreak; text marks are bold, italic,
strike, underline and link (href). Anything else is removed when saving.
Code
{{mailing.unsubscribe_url}} unless the mail type is the system type), look at the preview, send a test mail, then send or schedule it.is_system) is for mail about running the business: nobody can unsubscribe from it and it cannot be deleted.