Auth Token
Provides the access bearer token
URI: POST /auth/token
Parameters
Parameters in bold are mandatory
Location | Name | Description | Type |
---|---|---|---|
body | auth_type | The authentication type used to obtain the token. Possible values are:
| str |
body | clientId | The ID of the REST API user/machine. | str |
body | clientSecret | The password of the REST API user/machine. | str |
body | signedJWT | The access token of the REST API user/machine. It is mandatory if the auth_type is “client-jwt”. | str |
Response
The response schema for this specific request is:
{ "access_token": "<the_access_token>", "expires_in": 7200, "refresh_expires_in": 7200, "refresh_token": "<the_refresh_token>", "token_type": "Bearer", "not-before-policy": 0, "session_state": "f39d6818-5c83-4cc5-92b5-6982112cac8c", "scope": "email profile" }