curl --location --request GET 'https://slack.com/api/oauth.v2.access?code='
{
"access_token": "xoxb-17653672481-19874698323-pdFZKVeTuE8sk7oOcBrzbqgy",
"app_id": "A0KRD7HC3",
"authed_user": {
"access_token": "xoxp-1234",
"id": "U1234",
"scope": "chat:write",
"token_type": "user"
},
"bot_user_id": "U0KRQLJ9H",
"enterprise": {
"id": "E12345678",
"name": "slack-sports"
},
"ok": true,
"scope": "commands,incoming-webhook",
"team": {
"id": "T9TK3CUKW",
"name": "Slack Softball Team"
},
"token_type": "bot"
}
code
param returned via the OAuth callback.