Auth

Create Bearer Token

Exchange client credentials for a Bearer token. Tokens expire after 12 hours by default.

post/v1/oauth

Request

  • Base URL: https://api.racehooks.io
  • URL: https://api.racehooks.io/v1/oauth
  • Auth: none declared

Request body

client_idstring required

Your API client ID

client_secretstring required

Your API client secret

grant_type'client_credentials' required

Response

Access token issued

access_tokenstring

Bearer token to include in Authorization header

token_typestring
expires_innumber

Token lifetime in seconds

Example response

{
  "token_type": "Bearer"
}

Changes

No recorded changes to this operation across all 1 revision of this API.