Update Slack Integration
Update a Slack integration
post
/v1/integration/slack/{slackIntegrationId}/update
Authorization
ChatBotKit API Secret * Required
HTTP Authorization Scheme: bearer
Path Parameters
slackIntegrationIdstring* Required
The ID of the Slack integration
Request Body * Required
Request Body Schema: application/json
namestring
The associated name
descriptionstring
The associated description
metaobject
Meta data information
signingSecretstring
The signing secret for the Slack integration
botTokenstring
The bot token for the Slack integration
sessionDurationnumber
The session duration for the Slack integration
visibleMessagesnumber
The number of visible messages outside of the new thread
botIdstring
The ID of the bot this configuration is using
curl -X POST "https://api.chatbotkit.com/v1/integration/slack/{slackIntegrationId}/update" \-H "Authorization: Bearer $CHATBOTKIT_API_SECRET" \
-H "Content-Type: application/json" \
--data-binary @- << EOF {"name":"string","description":"string","meta":"object","signingSecret":"string","botToken":"string","sessionDuration":"number","visibleMessages":"number",} EOF"botId":"string"
{"id":"string"}
The Slack integration was updated successfully