Skip to content

Update Slack Bot

Endpoint to update a Slack bot in the ToolzzAI agent.

Terminal window
curl --request PUT \
--url https://converflow.api.prod.toolzz.media/api/v1/slack/integration/{integrationId} \
--header 'Authorization: Bearer TOKEN_HERE' \
--header 'Content-Type: application/json' \
--data '
{
"unitId": "uuid",
"title": "<string>",
"replyOnMention": boolean,
"replyInDms": boolean,
"threadAutoReply": boolean,
"channelIds": [
"<channel_id_string>"
]
}
'
{
"id": "uuid",
"botId": "uuid",
"unitId": "uuid",
"teamId": "string",
"title": "string",
"botToken": "string",
"signingSecret": "string",
"isActive": true,
"isTokenMasked": true,
"scope": "string",
"channelIds": ["string"],
"channelsDetail": [],
"defaultChannelId": null,
"replyOnMention": true,
"replyInDms": true,
"threadAutoReply": true,
"welcomeMessage": "",
"createdAt": "YYYY-MM-DD HH:mm:ss",
"updatedAt": "YYYY-MM-DD HH:mm:ss",
"deletedAt": null
}
ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
integrationIdUUIDUnique integration identifier in the database.Yes
KeyTypeDescriptionRequired
unitIdUUIDUnique identifier of the owning organizational unit.Yes
titleStringFriendly name to identify the configuration (e.g., “Slack Integration”).Yes
replyOnMentionBooleanIf true, the AI will respond only when mentioned with @.Yes
replyInDmsBooleanIf true, the AI is authorized to respond in direct messages (DMs).Yes
threadAutoReplyBooleanIf true, the AI will respond automatically within started threads.Yes
channelIdsArray[Str]List of IDs of the Slack channels where these rules apply.Yes
KeyTypeDescription
idUUIDUnique identifier of the integration configuration in the database.
botIdUUIDIdentifier of the Toolzz AI agent that processes the messages.
unitIdUUIDUnique identifier of the owning organizational unit.
teamIdStringUnique Workspace (Team) ID on Slack.
titleStringFriendly name assigned to the integration (e.g., “Slack Integration”).
botTokenStringBot OAuth Token (masked or full depending on isTokenMasked).
signingSecretStringSecret key to validate Slack requests (masked/full).
isActiveBooleanDefines if the integration is enabled to respond.
isTokenMaskedBooleanIf true, indicates that the token fields contain asterisks for security.
scopeStringConfigured scope of action (e.g., all).
channelIdsArray[Str]List of IDs of the Slack channels allowed for the bot.
channelsDetailArrayList with detailed channel metadata (e.g., names, types).
defaultChannelIdNull/StrMain channel ID for proactive communications.
replyOnMentionBooleanIf true, the bot only responds if mentioned with @.
replyInDmsBooleanIf true, the bot can interact via Direct Messages (private).
threadAutoReplyBooleanIf true, the bot responds automatically within threads.
welcomeMessageStringWelcome message sent on the first contact.
createdAtStringIntegration creation date and time (ISO 8601).
updatedAtStringDate and time of the last data update.
deletedAtNull/StrLogical deletion date (soft delete), if applicable.

To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request. Additionally, the API is protected by other security measures to safeguard user data.

To access your access token, follow these steps:

  1. Log in to the ToolzzAI platform
  2. Click on “Settings”
  3. Click on “Access Token”
  4. Copy the access token

Access token page