GetOAuthAuthorizationURL
Gets the authorization URL that must be opened separately by the user to grant access to your application. Only needed when developing Web apps. You will request the auth token from this URL.
Input
Name | Type | Description |
CallbackUrl | String | The URL the user will be redirected to after authorizing your application. This value must match the Redirect URL in the Slack app settings. |
Scope | String | A comma-separated list of permissions to request from the user. Please check the Slack API for a list of available permissions.
The default value is channels:read,groups:read,im:read,mpim:read,channels:write,groups:write,im:write,mpim:write,channels:history,groups:history,im:history,mpim:history,search:read,chat:write:user,chat:write:bot,files:read,files:write:user,pins:read,pins:write,usergroups:read,usergroups:write,reminders:read,reminders:write,users:read,users.profile:write,links:read,links:write,reactions:write,reactions:read,stars:read,stars:write,calls:read,calls:write,dnd:read,dnd:write,team:read. |
State | String | This field indicates any state that may be useful to your application upon receipt of the response. Your application receives the same value it sent, as this parameter makes a round-trip to the Slack authorization server and back. Possible uses include redirecting the user to the correct resource in your site, using nonces, and mitigating cross-site request forgery. |
Result Set Columns
Name | Type | Description |
URL | String | The authorization URL, entered into a Web browser to obtain the verifier token and authorize your app. |