Admin — Integrations
Connect Discord via bot credentials (BYOT)
Validates a Discord bot token via the Discord API and saves the installation for the current workspace.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3001/api/v1/admin/integrations/discord/byot" \ -H "Content-Type: application/json" \ -d '{ "botToken": "string", "applicationId": "string", "publicKey": "string" }'{
"message": "string",
"botUsername": "string"
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}Edit on GitHub
Last updated on