Streav
Streav

POST /oauth/token

Exchanges client credentials for an access token.

Description:

Accepts form-urlencoded data. Required parameters:

  • client_id (string): The client's identifier.
  • client_secret (string): The client's secret.
  • grant_type (string): Must be client_credentials for this endpoint.
  • scope (string): A space-separated list of scopes for which the access token is requested.
Responses
CodeDescription
200The access token was successfully issued.
401Unauthorized - Invalid client credentials or grant type.
404Not Found - The OAuth request is null.