Skip to content

Get Slack Integration by Unit

Endpoint used to get a Slack integration by unit.

Terminal window
curl --request GET \
--url https://converflow.api.prod.toolzz.media/api/v1/slack/integration/unit/{unitId} \
--header 'Authorization: Bearer TOKEN_HERE'
{
"data": [
{
"id": "uuid",
"botId": "uuid",
"botToken": "string",
"signingSecret": "string",
"teamId": "string",
"channelIds": [
"string"
],
"channelsDetail": [],
"title": "string",
"scope": "string",
"isActive": true,
"replyInDms": true,
"replyOnMention": true,
"threadAutoReply": true,
"welcomeMessage": "string",
"isTokenMasked": true,
"unitId": "uuid",
"createdAt": "timestamp",
"updatedAt": "timestamp",
"deletedAt": null,
"defaultChannelId": null
}
]
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
unitIdStringUnit IDYes
KeyTypeDescription
data[]ArrayList of objects containing the integration settings.
botIdStringUnique identifier of the integrated agent.
botTokenStringOAuth access token (Bot User OAuth Token) for the Slack API.
channelIdsArray[Str]List of IDs of the channels where the bot is authorized to act.
channelsDetailArrayAdditional details about the linked channels (metadata).
createdAtStringIntegration creation date and time (ISO/Custom format).
defaultChannelIdNull/StrDefault channel ID for automatic notifications.
deletedAtNull/StrLogical deletion date (soft delete), if applicable.
idUUIDUnique integration identifier in the internal database.
isActiveBooleanDefines if the integration is active and processing events.
isTokenMaskedBooleanIndicates if the botToken and signingSecret are masked in the response.
replyInDmsBooleanIf true, the bot is authorized to respond in Direct Messages.
replyOnMentionBooleanIf true, the bot responds only when mentioned (@bot).
scopeStringBot’s scope of action (e.g., all, specific_channels).
signingSecretStringSecret key used to validate requests coming from Slack.
teamIdStringUnique Workspace (Team) ID on Slack.
threadAutoReplyBooleanIf true, the bot responds automatically within threads.
titleStringFriendly name given to the integration (e.g., “Slack Integration”).
unitIdUUIDToolzz AI unit identifier.
updatedAtStringDate and time of the last parameter update.
welcomeMessageStringAutomatic message sent when a user interacts for the first time.

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