v1

latestOpenAPI 3.0.02026-07-1417448450.4 KB
oauth.v2
oauth

Exchanges a temporary OAuth verifier code for an access token.

get/oauth.v2.access

Query parameters

client_idstring

Issued when you created your application.

client_secretstring

Issued when you created your application.

codestring required

The code param returned via the OAuth callback.

redirect_uristring

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

Response

Successful token request with scopes for both a bot user and a user token

oktrue required