Oauth

OAuth token endpoints

This endpoint is used to exchange an authorization code or refresh token for an access token.

post/auth/oauth/token

Request body

grant_type'authorization_code' | 'refresh_token' required
client_idstring
client_secretstring

Example request

{}

Response

Successful response

{"stackTrail":"paths:/auth/oauth/token:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

Changed in 2 of the 17 revisions of this API.14

  • f135fd8ca8b412See the full diff
    • ▲

      request property was restricted to a list of enum values

      request-property-became-enum

    • ○

      added the new authorization_code enum value to the request property

      request-property-enum-value-added

    • ○

      added the new refresh_token enum value to the request property

      request-property-enum-value-added

    • ○

      added the new optional request property

      new-optional-request-property

    • ○

      added the new optional request property

      new-optional-request-property