I have a question about the top-level access token that is returned after the "Add to Slack" button is clicked and consent is granted.
This is the JSON response:
{
"access_token": "xoxp-XXXXXXXX-XXXXXXXX-XXXXX",
"scope": "incoming-webhook,commands,bot",
"team_name": "Team Installing Your Hook",
"team_id": "XXXXXXXXXX",
"incoming_webhook": {
"url": "https://hooks.slack.com/TXXXXX/BXXXXX/XXXXXXXXXX",
"channel": "#channel-it-will-post-to",
"configuration_url": "https://teamname.slack.com/services/BXXXXX"
},
"bot":{
"bot_user_id":"UTTTTTTTTTTR",
"bot_access_token":"xoxb-XXXXXXXXXXXX-TTTTTTTTTTTTTT"
}
}
In documentation https://api.slack.com/docs/slack-button, the only place that mentions the top-level access_token is "Use the top-level access_token value for other integration points."
Could you please give some examples on how the top-level access_token will be used?