Skip to content

Complete Slack OAuth and store the org's chat config

POST
/api/v1/auth/slack/callback
curl --request POST \
--url https://api.pkgplease.com/api/v1/auth/slack/callback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "code": "example" }'
Media typeapplication/json
object
code
required
string
Examplegenerated
{
"code": "example"
}

Linked

Media typeapplication/json
object
ok
boolean
Examplegenerated
{
"ok": true
}

Missing code or Slack OAuth exchange failed

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}