refreshAccessToken

post

refreshAccessToken

API to extent the duration of the access token.

Resource URL

https://tih-api.stb.gov.sg/oauth /refresh_accesstoken

Header Parameters

Name Values Description
authorization
(required)

Authorization (e.g Basic aE9VR2pyZ2oyM3FMdXhSemRLN21MdEhKMzlzYVI5QmI6aThPblFkbkZMV0NOcEd2Nw==)

Body Parameters

Name Values Description
grant_type
(required)

Grant Type (e.g. refresh_token)

refresh_token
(required)

Refresh Token

Try it out

HTTP Basic

OAuth 2.0

API Key

RESET

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Response Error Details

HTTP Code Error Code Description
400 400 Bad Request
401 401 Unauthorized
404 404 Not found
409 409 Conflict

Resource Summary

Security Content Type Category

application/x-www-form-urlencoded

OAuth

Working...