post
accessToken & refreshToken
- Code
- Redirect_url
- Refresh_token
Resource URL
https://account.visitsingapore.com /sso/oauth/accessToken
Query Parameters
Name | Values | Description |
---|---|---|
client_id
(required) |
Client ID of the Application (e.g h1XLl7z0QXb6t2r7lAEgseWGt02AazMv) |
|
client_secret
(required) |
Client Secret of the Application (e.g prL5Og6MmRGnkrIs) |
|
grant_type
(required) |
Type of grant (authorization_code) |
|
code |
Authorization Code value |
|
redirect_uri |
Redirect URL for the Client Appliction |
|
refresh_token |
Refresh Token Value |
Response Error Details
HTTP Code | Error Code | Description |
---|---|---|
400 | 400 | Bad Request |
401 | 401 | Unauthorized |
404 | 404 | Not found |
Resource Summary
Security | Content Type | Category |
---|---|---|
application/x-www-form-urlencoded |
Visit Singapore Account OAuth API |
Working...