Auth

Issue a new access token

Changed on

Issue a new access token

post/api/v1/oauth2/token

Request

Request body

OR
OR
OR

Example request

{
  "client_id": "547544c3-eeac-492e-8df9-5a52ca4e6bdf",
  "client_secret": "b717adcac3f26e8034574021fa647cd7d4edd67b615046df387f6712c3601048"
}

Response

Success

successboolean required

Indicates if the request was successful

Example response

{
  "success": true,
  "data": {
    "access_token": "example_access_token_xyz789",
    "refresh_token": "example_refresh_token_abc123",
    "token_type": "Bearer",
    "expires_in": 900
  }
}

Changes

    • breaking

      added subschema #1: Unauthorized Error subschema #2 to the response body oneOf list for the response status

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      the response property / became optional for the status

    • breaking

      the / response's property type changed from string to no type for status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the optional property / from the response with the status

    • info

      added request discriminator

    • info

      added subschema #1 subschema #2 subschema #3 subschema #4 to the request body oneOf list

    • info

      added the optional property / to the response with the status

    • info

      added subschema #1 subschema #2 to the / response property allOf list for the response status

    • info

      endpoint added