Skip to main content
Every /api/partner request carries your partner API key in the X-API-KEY header:
Only X-API-KEY is accepted here; an Authorization header is ignored. The single sign-on exchange at /api/sso does not use this key: it is authenticated by the token you sign with your SSO secret.

Which credential goes where

Keep it safe

  • Backend only. The partner key is not a per-customer credential: it can act on every workspace you have provisioned. Never put it in a browser, a mobile app or a customer’s hands.
  • Same for the SSO secret. Anyone holding it can sign a token that logs in as any of your customers.
  • Rotation. OnlySocial can issue a new partner key or SSO secret at any time; the old one stops working immediately. Ask for a rotation if either may have leaked, and plan for a short switchover.
  • Don’t log secrets. Responses that contain a new workspace API key are sent with Cache-Control: no-store; keep them out of your logs too.