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.

oauthV2Access
GET/oauth.v2.access
Exchanges a temporary OAuth verifier code for an access token.

Issued when you created your application.

Issued when you created your application.

required

The `code` param returned via the OAuth callback.

This must match the originally submitted URI (if one was sent).

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import slack from '@utdk/slack';

await slack.oauthV2Access()