Get Token

GA
Hit the auth endpoint to get a bearer token

Request

This endpoint expects an object.
client_idstringRequired
client_secretstringRequired
audience"sayari.com"RequiredDefaults to sayari.com
grant_type"client_credentials"RequiredDefaults to client_credentials

Response

OK
access_tokenstring
The bearer token you will pass in to subsequent API calls to authenticate.
expires_ininteger

Tells you how long (in seconds) until your bearer token expires.

token_typestring
Will always be "Bearer"

Errors