Skip to content

Get Telegram Integration

Endpoint used to get a Telegram integration.

Terminal window
curl --request GET \
--url https://chat.api.toolzz.com.br/api/v1/telegram/integration/{integrationId} \
--header 'Authorization: Bearer TOKEN_HERE'
{
"id": "uuid",
"botId": "uuid",
"unitId": "uuid",
"title": "<string>",
"isActive": true,
"botToken": "<string>",
"isTokenMasked": true,
"scope": "<string>",
"welcomeMessage": "<string>",
"createdAt": "<timestamp>",
"updatedAt": "<timestamp>",
"deletedAt": null
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
integrationIdStringTelegram integration IDYes
KeyTypeDescription
idUUIDUnique identifier of the integration configuration in the database.
botIdUUIDIdentifier of the bot associated within the Toolzz AI platform.
unitIdUUIDUnique identifier of the owning organizational unit.
titleStringIntegration identifier name (e.g., “TelegramAI”).
isActiveBooleanDefines if the integration is active and enabled to respond.
botTokenStringTelegram authentication token (API Key), displayed in a masked form.
isTokenMaskedBooleanSignals if the token returned in the response is hidden for security.
scopeStringBot’s scope of action (e.g., both, private, group).
welcomeMessageStringAutomatic greeting text sent when starting a conversation.
createdAtStringOriginal record creation date and time (ISO 8601).
updatedAtStringDate and time of the last modification in the configuration fields.
deletedAtString/NullLogical deletion date (Soft Delete), if the record was removed.

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