Create JWT access token
POST/platform/solutions/api/v1/auth/tokens
Exchanges an existing authentication credential (header or token) for a JWT access token.
- Use the Authorization Bearer header with a JWT token to perform the token exchange.
- Use the request body with
token(JWT token) to perform the token exchange. - Use the request body with
refreshToken(JWT token) to obtain a new JWT.
Parameters
grant_type: must berefresh_tokenwhen using a refresh token in the request body to obtain a new JWT.refreshToken(string, optional): required when grant_type is refresh_token. Provide a valid Refresh Token to obtain a new JWT.token(string, optional): provide a valid Token to exchange for a JWT.
Responses
201 Created: successfully returns a new access_token403 ForbiddenNo valid credentials found
Security
- This API requires either a valid Authorization header or a valid Refresh Token.
- Applicable for both public and internal applications, but authentication is required.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 500
- 501
Created
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
Not Implemented