Generate a token for usage with authenticating via OAuth2 in subsequent API calls.
Generate a token
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
grant_type
Allowed values:
client_id
ID of client to request token for. Leave off if client ID and secret are being supplied through Authorization header.
client_secret
Leave off if client ID and secret are being supplied through Authorization header.
Response
Generated token
access_token
expires_in
Number of seconds that token is valid for
token_type
Allowed values:
Errors
400
Bad Request Error
401
Unauthorized Error