Get Location Access Token from Agency Token
This API allows you to generate locationAccessToken from AgencyAccessToken
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
oauth. writeOAuthAgency TokenRequest
Headers
API Version
v3v3Body
Company Id of location you want to request token for
tDtDnQdgm2LXpyiqYvZ6The location ID for which you want to obtain accessToken
l1C08ntBrFjLS0elLIYUResponse
Successful response
Location access token which can be used to authenticate & authorize API under following scope
ab12dc0ae1234a7898f9ff06d4f69ghThe token type (always Bearer)
BearerTime in seconds remaining for token to expire
86399Scopes the following accessToken have access to
conversations/message.readonly conversations/message.writeLocation ID - Present only for Sub-Account Access Token
l1C08ntBrFjLS0elLIYUPlan Id of the subscribed plan in paid apps.
l1C08ntBrFjLS0elLIYUUSER ID - Represent user id of person who performed installation
l1C08ntBrFjLS0elLIYUApp ID of the installed application
6578278e879ad2646715ba9cVersion ID of the installed app version
6578278e879ad2646715ba9cThe OAuth2 refresh token used to obtain a new access token for this specific location.
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6MTUxNjIzOTAyMn0.KMUFsIDTnFmyG3nMiGM6H9FNFUROf3wh7SmqJp-QV30