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.

SurfaceBase URLWhat it does
Cloud API v2https://api.cloakctl.com/api/v2/automationProfiles, tags, proxies, fingerprints, extensions, subscription
Local APIhttp://127.0.0.1:48900/apiStart 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

  1. 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.
  2. Check connectivity: GET /subscription returns the plan, limits and remaining window quotas.
  3. Create a profile with the cloud API, start it with the local API and connect a Playwright or Puppeteer client to ws_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

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.