Getting Started
Our API accepts JWT access tokens that comply with the OAuth 2.0 protocol to authenticate requests.
You have two options that comply with the OAuth 2.0 protocol to obtain an access_token
and we recommend choosing one based on your use case.
The password grant type is preferred when a trusted client application needs to obtain an access token on behalf of a specific user by directly using their username and password. This approach is suitable for first-party applications where users trust the client with their credentials, enabling access to user-specific resources with full user context.
OAuth 2.0 Client Credentials Grant Type.
The client credentials grant type is ideal when an application needs to authenticate itself to access its own resources or perform operations that are not user-specific. Commonly used in server-to-server interactions, this method allows the application to act autonomously by obtaining an access token using only its client ID and secret, without involving any end-user.
Last updated