GuideLab Docs

Connect a Telegram bot to the inbox

POST
/integrations/telegram

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/integrations/telegram" \  -H "Content-Type: application/json" \  -d '{    "botToken": "string"  }'
{  "connection": {    "id": "string",    "provider": "meta_whatsapp",    "channel": "whatsapp",    "address": "string",    "status": "pending",    "statusMessage": "string",    "lastInboundAt": "string",    "createdAt": "string"  }}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}