Authentication
Every API request needs an API key.
Generating your key
Section titled “Generating your key”Go to API keys in your account settings and click New key. Store the key somewhere safe: it is not shown again after it is created.
Sending the key
Section titled “Sending the key”Send the key in every request, in one of two ways:
curl https://api.cut.pro/api/v1/workspace \ -H "X-Api-Key: $CUTPRO_API_KEY"curl https://api.cut.pro/api/v1/workspace \ -H "Authorization: Bearer $CUTPRO_API_KEY"A missing, revoked or invalid key comes back like this:
{ "code": "UNAUTHORIZED", "message": "Unauthorized" }Workspaces
Section titled “Workspaces”An API key is bound to one or more workspaces (scoped tokens, Cloudflare style). Credits, submissions, clips, and renders always belong to the workspace the request resolves to.
Every request operates on that workspace automatically. No extra header is needed.
Send the X-Workspace-Id header on each request to choose which workspace the call hits:
curl https://api.cut.pro/api/v1/balance \ -H "X-Api-Key: $CUTPRO_API_KEY" \ -H "X-Workspace-Id: 7401220118845503"Without the header, the response is 400 MISSING_WORKSPACE_ID, including the list of allowed workspaces.
Social connections
Section titled “Social connections”Connected social accounts (TikTok, Instagram, YouTube, etc.) are the IDs you pass as connectionId when creating a post. The lifecycle of connections is not exposed by the API. To connect a new account, go to cut.pro and use the OAuth flow inside the app.