accessToken

post

accessToken

In order to create, update or delete a content, an access token is required. This API provides the ability to generate an access token.

Resource URL

https://tih-api.stb.gov.sg/oauth /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. client_credentials | password)

scope

Scope (e.g. default)

username

Username for grant_type: password

password

Password for grant_type: password

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...