Authentication schemes

Choose between API key and OAuth 2.0 authentication for the Brevo API

API key authentication

Use API key authentication for direct API access. Include your API key in the api-key header for each request.

Best for:

  • Direct API integrations
  • Server-to-server communication
  • Testing and development

See API Key authentication for setup instructions.

OAuth 2.0 authentication

Use OAuth 2.0 for private integrations within an organization that require user consent and delegated access. OAuth combines authentication and authorization in a single flow.

Best for:

  • Private integrations within an organization
  • Internal applications requiring user-specific permissions
  • Non-public distributable applications

OAuth is currently only available for private integrations inside an organization. OAuth integrations are not intended for public distribution or listing in marketplaces.

OAuth provides a token-based authentication system. The authentication server issues a token with a defined validity period that grants access to specific features based on user permissions.

See OAuth authentication for implementation detailss.