V2
OAuth V2 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).
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.v2.access?code=string" \ -H "Content-Type: application/x-www-form-urlencoded"{ "ok": "True"}
