Skip to main content
POST
/
slack
/
install
/
callback
Handle Oauth Callback
curl --request POST \
  --url https://apigcp.trynia.ai/v2/slack/install/callback \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "<string>",
  "redirect_uri": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Body

application/json

Handle the OAuth callback from Slack.

code
string
required

Authorization code from Slack

redirect_uri
string | null

Redirect URI used in the authorization request

Response

Successful Response