Skip to main content
Anbyan exposes separate authentication boundaries for each API audience. Use credentials issued for the same surface as the endpoint you are calling.

Customer portal

Customer portal endpoints use a customer bearer token issued after email-password or passkey authentication. A customer token cannot call staff or developer-app endpoints.

Staff sessions

Staff endpoints use a short-lived bearer token issued after email-password authentication and any required MFA challenge. Some sensitive operations also require recent authentication, branch context, or specific permissions.

Developer apps

Developer apps use OAuth 2.0 authorization code with PKCE. Access tokens are short-lived and limited to permissions approved during tenant consent. OAuth protocol field names use their standard snake_case spelling.

Staff API keys

Staff API keys are long-lived bearer credentials created by authorized staff. Each key is limited to its assigned permissions and should be stored like a secret. This surface is currently a preview and exposes only documented endpoints. Public system-status and login endpoints are marked with no security requirement in the API reference.