Authorization
Supported versions
The second version of Ticket API supports both versions of Authorizations. About API versions and supported period you can read here.
It is highly recommended to user Authorization v2.
Authorization v1 will be deprecated on the 1st of March 2021

Authorization v2

The second version of API uses pairs of Access and Refresh tokens. Access token is short-lived and can be generated by using a refresh token. The detailed description how to obtain a new token you can find in this document.
This version of API requires only one authorization header, you don't need to specify the Community header. Authorization header with access token must look like: Authorization: Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJjaWQiOi...

Authorization v1

This version of authorization requires to have 2 headers in every request to Ticket API :
    Community - they short name of your Socialboards account. You define the short name in the 1st step in the Socialboards account creation process. You can also find it while browsing your Inbox in your browser, in this part of the URL:
    X-Token - Public API token. How to obtain this token you can check in this document.
For more information about Inboxes, check out the Glossary.
Last modified 1yr ago