Skip to main content

Authentication

The CEX integration uses two distinct kinds of authentication. Keep them separate:

Portal loginAPI key
WhoA human operatorYour server
WhereBrowser, partner portalX-Api-Key header on every request
PurposeCreate, rotate, revoke keys; accept pools; register omnibusMake API calls
LifetimeSession (+ 2FA step-up for sensitive actions)Until rotated / revoked / expired
  • Humans log in to the portal to manage keys and account setup — they never put portal credentials in code.
  • Machines present a key in the X-Api-Key header to call the API — they never see the portal login flow.

The one place the two connect is generating a key: a human, in a portal session, mints the key your server uses from then on.

See API keys (machines) and Portal access (humans).