/oauth.token
GET
/oauth.token
oauth
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://slack.com/api/oauth.token'
Response Response Example
200 - response
{
"access_token": "xoxa-access-token-string",
"app_id": "A012345678",
"app_user_id": "U0AB12ABC",
"authorizing_user_id": "U0HTT3Q0G",
"installer_user_id": "U061F7AUR",
"ok": true,
"permissions": [
{
"resource_id": 0,
"resource_type": "channel",
"scopes": [
"channels:read",
"chat:write:user"
]
}
],
"single_channel_id": "C061EG9T2",
"team_id": "T061EG9Z9",
"team_name": "Subarachnoid Workspace",
"token_type": "app"
}
Request
Query Params
client_id
stringÂ
optional
client_secret
stringÂ
optional
code
stringÂ
optional
code
param returned via the OAuth callback.redirect_uri
stringÂ
optional
single_channel
stringÂ
optional
Responses
Modified at 2023-08-15 05:39:46