{ "opencollection": "1.0.0", "info": { "name": "Slack Admin Access Oauth API", "version": "1.0" }, "items": [ { "info": { "name": "Oauth", "type": "folder" }, "items": [ { "info": { "name": "Slack Get Oauth Access", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/oauth.access", "params": [ { "name": "client_id", "value": "", "type": "query", "description": "Issued when you created your application." }, { "name": "client_secret", "value": "", "type": "query", "description": "Issued when you created your application." }, { "name": "code", "value": "", "type": "query", "description": "The `code` param returned via the OAuth callback." }, { "name": "redirect_uri", "value": "", "type": "query", "description": "This must match the originally submitted URI (if one was sent)." }, { "name": "single_channel", "value": "", "type": "query", "description": "Request the user to add your app only to a single channel. Only valid with a [legacy workspace app](https://api.slack.com/legacy-workspace-apps)." } ] }, "docs": "Exchanges a temporary OAuth verifier code for an access token." }, { "info": { "name": "Slack Get Oauth Token", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/oauth.token", "params": [ { "name": "client_id", "value": "", "type": "query", "description": "Issued when you created your application." }, { "name": "client_secret", "value": "", "type": "query", "description": "Issued when you created your application." }, { "name": "code", "value": "", "type": "query", "description": "The `code` param returned via the OAuth callback." }, { "name": "redirect_uri", "value": "", "type": "query", "description": "This must match the originally submitted URI (if one was sent)." }, { "name": "single_channel", "value": "", "type": "query", "description": "Request the user to add your app only to a single channel." } ] }, "docs": "Exchanges a temporary OAuth verifier code for a workspace token." }, { "info": { "name": "Slack Get Oauth Access", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/oauth.v2.access", "params": [ { "name": "client_id", "value": "", "type": "query", "description": "Issued when you created your application." }, { "name": "client_secret", "value": "", "type": "query", "description": "Issued when you created your application." }, { "name": "code", "value": "", "type": "query", "description": "The `code` param returned via the OAuth callback." }, { "name": "redirect_uri", "value": "", "type": "query", "description": "This must match the originally submitted URI (if one was sent)." } ] }, "docs": "Exchanges a temporary OAuth verifier code for an access token." } ] } ], "bundled": true }