Authentication
Getting an Access Token
Changed onGet an access_token for a new user.<br><br><strong>Note:</strong> Access tokens currently have a fixed validity period of 10 years. Automatic token refresh is planned for a future API release but is not available at this time.
post/user/auth
Request
- Base URLhttps://api.blog2social.com/rest/v1.0
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Created
Example response
{
"access_token": "YOUR_ACCESS_TOKEN",
"refresh_token": "qwe111rtz222uio333",
"expired_in": "unix-timestamp"
}Changes
- breaking
removed the success response with the status
- info
added the success response with the status
- breaking