Generate OAuth Access Token

post

Generate OAuth Access Token

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

Resource URL

https://api.stb.gov.sg/oauth /accesstoken

Header Parameters

Name Values Description
authorization
(required)

Authorization (e.g Basic aE9VR2pyZ2oyM3FMdXhSemRLN21MdEhKMzlzYVI5QmI6aThPblFkbkZMV0NOcEd2Nw==)

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

Example

Response Error Details

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

Resource Summary

Security Category

TIH OAuth

Working...