Authorization header. The API
accepts two kinds, on the same endpoints:
If you’re building an integration, use an API key. The session JWT is what
clipping.cc itself uses after you log in. These guides assume an API key.
API keys
Create and revoke keys from the dashboard at clipping.cc/account:- Create — the full secret (
ck_live_…) is shown once. The server keeps only a hash; there’s no way to recover it later. Lose it → revoke and recreate. - Revoke — immediate. Requests with a revoked key start returning
401. - Multiple keys — one per environment/integration, with descriptive names.
Session tokens (JWT)
For completeness — used by the app, not usually by integrations:POST /v1/auth/signup/POST /v1/auth/login→ returns atoken(JWT).- Send it as
Authorization: Bearer <jwt>. POST /v1/auth/logout-allrevokes every token;POST /v1/auth/api-keys(JWT-authenticated) is how the dashboard mints API keys.- The realtime WebSocket (
/v1/realtime) accepts only a JWT (passed as a query param) — API keys can’t open it. Integrators poll executions instead (see Asynchronous operations).
Errors
All errors share the same shape:
Access scope
A credential inherits your account’s reach: you read and write your own items, collections and reporters, plus whatever is public viadiscover. There are
no per-permission scopes yet — a key can do what you can do.