Authentication

One workspace-scoped Bearer key. Scope-based authorization.

Header format

Every request carries an Authorization header with a Bearer token:

Authorization: Bearer ss_live_iUqoW6fj...

Workspace keys

Keys are minted from Settings → API, MCP & webhooks. Each key is pinned to one workspace at creation, with prefix ss_live_. The key publishes posts and reads data for that workspace and no other; there's no header to specify which workspace to act on because the binding is on the key itself.

Use GET /me to see exactly which workspace, scopes, plan, and remaining monthly API quota a token resolves to.

Scopes

Each token carries a list of granted scopes. Every endpoint requires a specific scope; without it the request fails with 403 INSUFFICIENT_SCOPE.

Workspace keys are minted with this default set:

  • uploads:write
  • posts:read, posts:write (also Repurposing workflows)
  • connections:read
  • analytics:read, analytics:write
  • inbox:read, inbox:write
  • webhooks:read, webhooks:write
  • members:read, members:write (team members and invitations)

Rotation

From Settings → API, MCP & webhooks, each key has a Rotate action. You'll get a new secret returned once. The old secret keeps working until the grace window you picked elapses (immediate, 5 min, 1 hour, or 24 hours), so you can roll deployments without downtime.

Security checklist

  • Treat tokens like passwords: never commit them, never log them, never embed in client code.
  • Mint a separate key per integration so you can rotate or revoke one without taking down others.
  • Rotate before sharing with a new collaborator, then revoke the old one when they leave.
  • If a token leaks, revoke immediately from Settings → API, MCP & webhooks. Revoked keys stop working within the same request cycle.