What you can call
Each call needs one scope, and your workspace role must allow it. Every endpoint page names its scope; API Tokens explains how scopes work. See Approvals for API Runs to start an agent run and read its answer.
To call CloudThinker another way, use the CloudThinker CLI, the Claude Connector, the A2A API for an outside system such as ServiceNow, Webhooks, or SCIM provisioning for Okta and Microsoft Entra ID.
How it works
- Base URL:
https://app.cloudthinker.io/api/public. Paths look like/v1/workspaces/<workspace-id>/{module}/{resource}. - Authentication: send
Authorization: Bearer <token>with a personal (ct_pat_…), service account (ct_sat_…) or OAuth (ct_oat_…) token, or a CLI login. Each token works in one workspace;GET /v1/tokenreturns its workspace ID, scopes and expiry. - Format: JSON in and out, UTF-8. A body field the operation doesn’t define returns
422. The OpenAPI 3.1 contract is athttps://app.cloudthinker.io/api/public/v1/openapi.json, no token needed. - Paging: list calls take
limit(1–100, default 20) andcursor. A page is{"items": [...], "next_cursor": "..."}; passnext_cursorback ascursoruntil it isnull. Keeplimitand filters the same; a changed query returns400invalid_cursor. - Writes: every
POSTneeds anIdempotency-Keyheader. See API Errors. - Versions: every path starts with the version,
v1. A breaking change ships as a new version. Withinv1, new fields and operations can appear, so ignore response fields you don’t recognize.
WORKSPACE_ID set from GET /v1/token:
Next steps
API Quickstart
Create a token and make your first call.
API Tokens
Choose scopes, set an expiry and revoke tokens.
API Errors
Read the error shape, retry safely and stay under the rate limit.
API reference
See every operation, field and scope.