The Only API docs
Integrations

Get the Telegram integration

The panel's Telegram channel, or integration: null if none is configured.

GET
/integrations/telegram

The panel's Telegram channel, or integration: null if none is configured.

shared_bot_available says whether this deployment has our shared bot configured — check it before offering "use the Xcelerate bot", so you never present a button that cannot work. event_types lists every event type you may subscribe to.

The bot token is never returned by this or any other route; has_custom_token only reports whether one is stored.

Guide: Integrations

X-API-Key<token>

Your CRM panel API key

In: header

Response Body

application/json

curl -X GET "https://example.com/integrations/telegram"
{  "event_types": [],  "integration": {    "bot_mode": null,    "bot_username": null,    "chat_id": null,    "chat_title": null,    "chat_type": null,    "consecutive_failures": null,    "created_at": "string",    "event_types": null,    "has_custom_token": true,    "is_active": true,    "is_paired": true,    "last_delivery_at": null,    "last_error": null,    "paired_at": null,    "updated_at": "string"  },  "shared_bot_available": true,  "shared_bot_username": null,  "success": true}