v1
latestOpenAPI 3.1.02026-07-2498134321.1 KBAuthorization
Request a Token
This endpoint is used to request a token from the authorization server. If requesting an initial token in the Authorization Code grant, an authorization code, client ID, and client secret must be provided. If requesting to refresh an existing token in the Authorization Code grant, a refresh token, client ID, and client secret must be provided. If requesting a token via the Client Credentials grant, a client ID and secret must be provided. See endpoint specification.
post/token
Headers
Authorizationstring
Example:Basic Y2xpZW50X2lkOmNsaWVudF9zZWNyZXQ=
The client ID and client secret of the client application in the format 'Basic <client_id:client_secret>' where client ID and secret are base64 encoded. Required if not provided in the request body.
Request body
Example request
{
"grant_type": "authorization_code",
"code": "63d415e0dd0d828c3a878548",
"redirect_uri": "https://myapp.com/oauth/callback",
"client_id": "6013609108b8f070cee94fc1",
"client_secret": "346423435cdsfad786578adf"
}Response
A successful response will return the relevant token details.
Example response
{
"token_type": "Bearer",
"access_token": "63d415e0dd0d828c3a878548",
"refresh_token": "42353hj5hj453lhgff245323",
"expires_in": 3600,
"scope": "public.workflows.readWorkflows public.workflows.createWorkflows"
}