Skip to content

`POST /v1/orgs/{org}/slack/install`.

POST
/v1/orgs/{org}/slack/install
curl --request POST \
--url https://api.updawg.net/v1/orgs/example/slack/install
org
required
string

Organization slug.

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=….

Media typeapplication/json

Where to send the browser to install the app.

object
authorize_url
required

Slack’s authorize page, with this install’s state. Good for ten minutes, once.

string

Example generated

{
"authorize_url": "example"
}

No session.

Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string

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.

Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string

Example generated

{
"detail": "example",
"status": 1,
"title": "example",
"type": "example"
}

No such organization, or not yours — one answer for both.

Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string

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.

Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string

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.

Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string

Example generated

{
"detail": "example",
"status": 1,
"title": "example",
"type": "example"
}

This deployment has no Slack app: slack-unavailable.

Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string

Example generated

{
"detail": "example",
"status": 1,
"title": "example",
"type": "example"
}