API documentation
CloakCTL Automation API
CloakCTL provides two independent HTTP interfaces. The cloud API manages the account: profiles, tags, proxies, fingerprints and the subscription. The local API runs inside the client on the operator machine, starts profiles and returns a CDP endpoint for Playwright, Puppeteer or Selenium.
| Surface | Base URL | What it does |
|---|---|---|
| Cloud API v2 | https://api.cloakctl.com/api/v2/automation | Profiles, tags, proxies, fingerprints, extensions, subscription |
| Local API | http://127.0.0.1:48900/api | Start and stop profiles on this machine, passwords, proxy checks, updates |
Both accept the same token. A token is created in the client, shown exactly once and stored by you as a secret.
Note
This documentation is published in Russian (primary language) and English. The language switch is in the top right corner. Machine-readable descriptions live in spec/endpoints.json and spec/limits.json and can be downloaded for client generation.
Getting started
- Create a token in the CloakCTL client: Settings → API → Create token. Pick the scopes the task needs, copy the
cc_…secret and store it in an environment variable — never in code. - Check connectivity:
GET /subscriptionreturns the plan, limits and remaining window quotas. - Create a profile with the cloud API, start it with the local API and connect a
PlaywrightorPuppeteerclient tows_endpoint.
Step-by-step curl, Python and Node.js examples are in the guide. The full route, parameter and response catalogue is in the reference.
What exists
- Profiles: list, create, read, update, delete, trash bin, restore, force stop.
- Tags, the proxy catalog, four fingerprint catalogues, the extension catalogue (read-only).
- Subscription with RPM/RPH limits and the token count.
- Local profile launch that returns
ws_endpointfor automation.
What v1 does not have is listed honestly in the compatibility table: folders, teams, sub-accounts, proxy providers, cookie import, profile import/export/transfer, one-time profiles and a fixed debugging port.
Security
A token grants access to the whole account within its scopes. One token per integration: a dedicated token per script is easier to revoke without breaking the others. See the security rules.
Feedback
If a documented example fails or the server response differs from this page, send support the exact HTTP status, the code from the response and the request time — that is enough to find the request in the log.