Generate access token

Get an access token to authenticate API requests. If you're unfamiliar with the authentication process, check out the authentication guide for more details.

post/as/token.oauth2

Request

  • Base URL
    https://api.auth.gbgplc.com
  • Auth
    HTTP bearer

Request body application/x-www-form-urlencoded

client_idstring required

The client ID assigned to your organization.

client_secretstring required

The client secret assigned to your organization.

usernamestring required

The username for API authentication.

passwordstring required

The password for API authentication.

grant_type'password' required

Must always be set to 'password'.

Response

Successfully retrieved access token.

access_tokenstring

The access token used for authentication.

expires_ininteger

Token expiration time in seconds.

token_typestring

The type of token, usually 'Bearer'.

Changes

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