Oauth
OAuth Access
Exchanges a temporary OAuth verifier code for an access token.
Authorization
slackAuth noneAuthorizationBearer <token>
In: header
Scope: none
Query Parameters
client_id?string
Issued when you created your application.
client_secret?string
Issued when you created your application.
code?string
The code param returned via the OAuth callback.
redirect_uri?string
This must match the originally submitted URI (if one was sent).
single_channel?boolean
Request the user to add your app only to a single channel. Only valid with a legacy workspace app.
Header Parameters
Content-Type*"application/x-www-form-urlencoded"
Value in
- "application/x-www-form-urlencoded"
Response Body
application/json
application/json
curl -X GET "https://example.com/oauth.access" \ -H "Content-Type: application/x-www-form-urlencoded"{ "ok": "True"}
