The integration API lets your own systems read and manage an A7reports workspace: its members and Groups, actions (follow-ups), tags, policy and settings, webhooks, the audit log and more. Every operation an API key can call is in the API reference.
The base URL
https://a7reports.com/api/clist/v1
Every path in this documentation is relative to it, and almost every path starts with /workspaces/{workspaceId}, the ID (a UUID) of the workspace the key belongs to. If you do not have it, ask us from the Help panel in the web app.
Create a key
Owners and admins create keys in the web app, in Manage account, API keys. Give the key a name and only the scopes it needs:
| Scope | Lets the key |
|---|---|
workspace.view |
Read the workspace: members, Groups, actions, tags, policy, settings and usage |
workspace.update |
Change policy, settings, retention and tags; read billing, email deliveries and webhooks |
workspace.manage_members |
Read the invitations and who covers each member |
workspace.manage_groups |
Create, change and delete Groups and who is in them |
workspace.manage_checklists |
With workspace.view, create, change, complete and comment on actions |
workspace.audit_log |
Read and export the audit log |
workspace.manage_api_keys |
Create, rotate and revoke keys (only with scopes it holds itself) |
workspace.delete |
Export the workspace and read its deletion status |
The full key, starting clk_, is shown once, when it is created or rotated. Store it in your secret manager; we keep only a hash of it.
Your first call
Send the key in the Authorization header:
curl https://a7reports.com/api/clist/v1/workspaces/$WORKSPACE_ID/members \
-H "Authorization: Bearer $CLIST_API_KEY"
A key with the wrong scope gets 403 forbidden. A key used on a workspace it does not belong to gets 404 not_found, so the API never confirms that a workspace exists.
What a key cannot do
Some things need a signed-in person and refuse a key: filling in checklists and writing their answers, creating or changing webhooks, inviting and removing members, and changing billing. The reference lists only what a key can call.
Who holds a key
A key belongs to the person who created it or last rotated it, its holder. It stops working at once when its holder leaves the workspace, is removed, or has their account suspended or deleted. Before someone leaves, have the person taking over rotate the keys they hold: rotating makes them the holder.
Rotate and revoke
- Rotate with
POST /workspaces/{workspaceId}/api-keys/{keyId}/rotate. You get a newclk_value; the old one stops working immediately, so update your systems straight away. The scopes stay the same; to change them, create a new key. - Revoke with
DELETE /workspaces/{workspaceId}/api-keys/{keyId}, which answers204. Revoke a key at once if it may have leaked.
Keys do not expire. Rotate them on a schedule that suits you, and whenever someone who saw a key leaves.