TGStudio
Log in

Integrations

  1. API
  2. Webhooks
  3. Notifications in the bot

API

A key is created in “Settings” → “API keys” and works with the same endpoints as the dashboard: the Authorization: Bearer tgs_… header. A key can be restricted by IP address. Examples are in the repository’s docs/API.md.

Webhooks

Events (post published, error, subscription and ad payment, donation, channel connected) are sent as a POST request signed with HMAC-SHA256 in the X-Tgstudio-Signature header. To test, point the receiver at /api/webhooks/echo on this domain — it answers 200 and stores nothing. Up to 5 retries; after 20 consecutive failures the webhook is disabled.

Notifications in the bot

Publishing failures, approvals, tasks, empty plan days, subscriber drops, weekly summaries — enabled in “Settings”. Bot commands: /channels, /tasks, /plan, /help.

Connect your first channel →

two channels free, no card required

Other sections