provider oauth.v2oauth GET
/oauth.v2.access @utdk/slack
/oauth.v2.access oauth_v2_access
Exchanges a temporary OAuth verifier code for an access token.
- client_id query
- Issued when you created your application.
- string
- client_secret query
- Issued when you created your application.
- string
- code query required
- The `code` param returned via the OAuth callback.
- string
- redirect_uri query
- This must match the originally submitted URI (if one was sent).
- string
Try it
Authentication
Configure credentials for Slack Web API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import slack from '@utdk/slack';
await slack.oauthV2Access()