Skip to main content
POST
/
slack
/
install
Generate Install Url
curl --request POST \
  --url https://apigcp.trynia.ai/v2/slack/install \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "redirect_uri": "<string>",
  "scopes": [
    "<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

Generate an OAuth URL to install Nia's Slack app.

redirect_uri
string | null

Custom OAuth redirect URI

scopes
string[] | null

Override default bot scopes

Response

Successful Response