Obtaining an Access Token

To interact securely with the Phoenix API, your application must first obtain an Access Token.


1. Client Credentials Flow

The Client Credentials Flow allows applications to obtain an access token directly, without user interaction. This flow is intended for machine-to-machine (M2M) applications like backend services, daemons, or command-line interfaces (CLIs). In this scenario, the system authenticates and authorizes the application itself rather than a user.

When to use:

  • Ideal for backend integrations, automated scripts, or services.