Update Discord Integration
Update a Discord integration
post
/v1/integration/discord/{discordIntegrationId}/update
Authorization
ChatBotKit API Secret * Required
HTTP Authorization Scheme: bearer
Path Parameters
discordIntegrationIdstring* Required
The ID of the Discord integration
Request Body * Required
Request Body Schema: application/json
namestring
The associated name
descriptionstring
The associated description
metaobject
Meta data information
appIdstring
The Discord application ID
botTokenstring
The Discord bot token
publicKeystring
The Discord public key
handlestring
The Discord command handle
sessionDurationnumber
The chat session duration
botIdstring
The ID of the bot this configuration is using
curl -X POST "https://api.chatbotkit.com/v1/integration/discord/{discordIntegrationId}/update" \-H "Authorization: Bearer $CHATBOTKIT_API_SECRET" \
-H "Content-Type: application/json" \
--data-binary @- << EOF {"name":"string","description":"string","meta":"object","appId":"string","botToken":"string","publicKey":"string","handle":"string","sessionDuration":"number",} EOF"botId":"string"
{"id":"string"}
The Discord integration was updated successfully