`POST /v1/orgs/{org}/slack/install`.
const url = 'https://api.updawg.net/v1/orgs/example/slack/install';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.updawg.net/v1/orgs/example/slack/installParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Organization slug.
Responses
Section titled “Responses”Where to send the browser. Slack sends it back to GET /v1/integrations/slack/callback, which sends it on to the portal’s settings with slack=installed or slack=failed&reason=….
Where to send the browser to install the app.
object
Slack’s authorize page, with this install’s state. Good for ten minutes, once.
Example generated
{ "authorize_url": "example"}No session.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}Not permitted for this role, or an API token (installing is a person’s act), or the plan does not include chat notifications: plan-required.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}No such organization, or not yours — one answer for both.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}The organization’s data is in another region (wrong-region, DAWG-159). detail names that region’s API; send the request there.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}Over the organization’s request limit. Retry-After says when to try again; RateLimit-Limit is the burst.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}This deployment has no Slack app: slack-unavailable.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}