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

KeyDatatypeRequiredDescription
client_idstringIssued when you created your application.
client_secretstringIssued when you created your application.
codestringThe code param returned via the OAuth callback.
redirect_uristringThis must match the originally submitted URI (if one was sent).
single_channelstringRequest the user to add your app only to a single channel. Only valid with a legacy workspace app.

RESPONSES

status: OK

{&quot;ok&quot;:&quot;\u003cboolean\u003e&quot;}