Request or refresh an OAuth token
Auth
Request or refresh an OAuth token
/oauth/token
Requests or refreshes the OAuth Token.
POST
Request or refresh an OAuth token
Authorizations
Security scheme for requesting and refreshing tokens using the /auth/token endpoint. Uses basic authentication with
client_id as the username and client_secret as the password.
Body
application/x-www-form-urlencoded
Request or refresh token
Available options:
refresh_token, client_credentials Example:
"refresh_token"
A client specific identifier provided by Narrative
Example:
"zzzzzzzzzzzzz"
The token used to refresh the API session. Required if grant_type is refresh_token
Example:
"yyyyyyyyyyy"
Response
200 - application/json
Refreshed token
The access token
Example:
"xxxxxxxxxxx"
The TTL of the access_token in seconds
Example:
3600
The refresh token
Example:
"yyyyyyyyyyy"
The TTL of the refresh_token in seconds
Example:
14400

