oauth access
GET {{baseUrl}}/oauth.access?client_id=<string>&client_secret=<string>&code=<string>&redirect_uri=<string>&single_channel=<boolean>
Exchanges a temporary OAuth verifier code for an access token.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
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 | string | Request the user to add your app only to a single channel. Only valid with a legacy workspace app. |
RESPONSES
status: OK
{"ok":"\u003cboolean\u003e"}