Skip to main content
POST
/
slack
/
install
/
token
Register External Token
curl --request POST \
  --url https://apigcp.trynia.ai/v2/slack/install/token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "bot_token": "<string>",
  "name": "<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

BYOT: Register an external Slack bot token.

bot_token
string
required

Slack bot token (xoxb-...)

name
string | null

Display name for this workspace

Response

Successful Response