Generate & Refresh OAuth Access Token


Generate & Refresh OAuth Access Token

Used by 3rd party applications to get the Access token using the Authorization code and refresh the Access token using the Refresh Token.
To get access token, the following values are required
  • Code
  • Redirect_url

To refresh token, the following value is required
  • Refresh_token

Resource URL /sso/oauth/accessToken

Body Parameters

Name Values Description

Client ID of the Application (e.g h1XLl7z0QXb6t2r7lAEgseWGt02AazMv)


Client Secret of the Application (e.g prL5Og6MmRGnkrIs)


Type of grant (authorization_code)


Authorization Code value


Redirect URL for the Client Appliction


Refresh Token Value

Request Attributes

Parameter Name Type Max Length Description Example

Response Error Details

HTTP Code Description
400 Request was not accepted and could be due to malformed parameter (e.g. spelling error) or missing a required parameter.
401 API key is invalid or was not provided.
403 API key does not have the permission to perform the request.
404 Requested resource (i.e. the resource URL) does not exist.
405 The HTTP request method is not supported by the resource.
406 Requester's acceptable content type for the response does not match the content type returned by the resource.
414 Request URL exceeded the maximum acceptable URL length.
415 Request's format is not supported by the resource.
500 Something is not working on TIH's end, happened very rarely.

Resource Summary

Security Content Type Category

Visit Singapore Account OAuth API