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>"
}
]
}Register an external Slack bot token (BYOT).
For multi-tenant scenarios: your customers provide their Slack bot token and you manage it through Nia’s API.
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>"
}
]
}Was this page helpful?