LynCutLynCut

Get started

Authentication

How to authenticate LynCut API requests.

API keys

Server-to-server requests authenticate with the x-lyncut-api-key header. Create and revoke keys from the dashboard under Settings → API keys.

curl "https://api.lyncut.com/v1/profile" \
  -H "x-lyncut-api-key: YOUR_API_KEY"

Treat keys like passwords. Rotate any key that may have leaked, and scope each key to the minimum providers you need.

Session cookies (first-party apps)

The LynCut web and desktop apps authenticate with an HTTP-only session cookie issued by /auth/session after OAuth sign-in. Cookie sessions are for first-party clients only — third-party integrations must use API keys.

CredentialHeaderUse case
API keyx-lyncut-api-keyServer-to-server, CI, partner integrations
Session cookieCookie: lyncut_session=...LynCut web and desktop apps only

Auth errors

StatusMeaning
401 UnauthorizedMissing, expired, or revoked credential
403 ForbiddenValid credential without the required scope or plan feature
429 Too Many RequestsKey exceeded its rate limit — back off and retry

Was this page helpful?