Authentication
Choose how your integration authenticates to the Payabli API
Applies to:Developers
Payabli supports two ways to authenticate API requests. Payabli recommends OAuth2 Bearer tokens for all new integrations, because they’re short-lived, permission-scoped, and backed by credentials you can rotate. Some endpoints accept only OAuth2, and each endpoint’s API reference shows the authentication methods it accepts. The requestToken API token still works everywhere else, so existing integrations don’t need to migrate.
- API token — sent in the
requestTokenheader. See API token authentication for the header, how to create tokens, and the token types. - OAuth2 Bearer token — obtained through the client-credentials flow. See OAuth authentication for the flow, and Manage API credentials for provisioning the client ID and secret.