Authentication
OAuth2 Token
OAuth2 Token endpoint. The required parameters depend on the grant type requested:
| Required Parameter | Grant Type |
|---|---|
| code | authorization_code |
| redirect_uri | authorization_code |
| member_id | member_app |
| organization_id | organization_app |
| refresh_token | refresh_token |
This endpoint requires that you pass in your client credentials using the HTTP Basic authentication scheme as per outlined in the spec. Including your client credentials in the request-body is not supported.
Note: The specific authorization code provided for the code parameter must only be used successfully once. If an authorization code is used a second time, all tokens granted with the first /oauth2/token call will be revoked.
post/oauth2/token
Request
- Base URLhttps://platform.hootsuite.com
- URLhttps://platform.hootsuite.com/oauth2/token
- AuthHTTP basic
Headers
Authorizationstring required
A base64-encoded client_id:client_secret string used for authentication.
Request body application/x-www-form-urlencoded
Response
Success
Example response
{
"access_token": "e9a90a81-xf2d-dgh3-cfsd-23jhvn76",
"token_Type": "Bearer",
"expires_in": 2592000,
"refresh_token": "82d82cf4-76gf-gfds-nt3k-lzpo12jg",
"scope": "offline"
}Changes
No recorded changes to this operation across all 1 revision of this API.