Skip to content

Get Discord Integration

Endpoint used to get a Discord integration.

Terminal window
curl --request GET \
--url https://chat.api.toolzz.com.br/api/v1/discord/integration/{integrationId} \
--header 'Authorization: Bearer TOKEN_HERE'
{
"id": "uuid",
"connectionStatus": "connected",
"botClientId": "<string_digits>",
"guildName": "<string>",
"isActive": true,
"channelsDetail": [
{
"id": "<string_digits>",
"name": "<string>"
}
],
"lastConnectedAt": "2026-04-17 12:26:14.14",
"updatedAt": "2026-04-17 12:26:14.14"
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
integrationIdStringDiscord integration IDYes
KeyTypeDescription
idUUIDUnique identifier of the configuration in the database.
titleStringTitle or name assigned to the integration.
connectionStatusStringCurrent status of the connection (e.g., connected, disconnected).
isActiveBooleanIndicates if the integration is enabled and functional.
botIdUUIDBot identifier within the Toolzz AI platform.
botClientIdStringBot application ID (Client ID) provided by Discord.
botTokenStringBot access token (usually masked).
isTokenMaskedBooleanConfirms if the token is being displayed with a security mask.
unitIdUUIDOrganizational unit identifier.
guildIdStringSnowflake ID of the server (Guild) on Discord.
guildNameStringDiscord server name.
channelIds[]Array[Str]List of IDs of the monitored channels for interaction.
channelsDetail[]Array[Obj]List of objects with basic channel details:
channelsDetail[].idStringChannel Snowflake ID.
channelsDetail[].nameStringVisible channel name on Discord.
scopeStringMonitoring scope (e.g., all for full reading).
permissionsStringNumeric string of configured permissions.
autoReplyOnMentionBooleanDefines if the bot responds when mentioned.
threadAutoCreateBooleanDefines if the bot manages conversations via threads.
welcomeMessageStringConfigured message for initial greetings.
lastConnectedAtStringMost recent connection date and time (ISO 8601).
lastDisconnectedAtString/NullLast disconnection date and time.
lastConnectionErrorCodeString/NullError code if the connection fails.
lastConnectionErrorMessageString/NullDescription of the error in case of connection failure.
createdAtStringConfiguration creation date.
updatedAtStringDate of the last data or connection status update.
deletedAtString/NullLogical removal date, 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