Skip to content

API

Telegram Bot API scheduling

SkedCast's `/v1` REST API schedules text, photo, video, and document posts to Telegram with one authenticated `POST` call — the same request shape as every other connected platform, with Telegram's own required fields folded in.

All platforms

Scheduling to Telegram through SkedCast's API#

SkedCast's /v1 REST API schedules text, photo, video, and document posts to Telegram the same way it does every other platform: one POST https://api.skedcast.com/v1/posts call with a content caption and a targets block naming the connected accounts. You need a Telegram bot added as an admin of the channel, connected once through the console (or minted as a self-serve connect link via POST /v1/clients/:id/connect-invites).

SkedCast is not a raw wrapper over Telegram's own developer API — it is one versioned, platform-agnostic contract that fans a single compose call out across every connected network, with the Telegram-specific fields listed below folded into the same request shape.

Telegram-specific fields (`variants[].overrides.telegram`)#

FieldNotes
chatIdOptional when the account was connected to a channel on or after 2026-09-05 (the row's own chat id is the destination). **Required** for an account connected before that date, or one bound to a bot rather than a specific channel.

Every other field on the post (caption, media, schedule) is identical to every other platform.

Example: schedule a post to Telegram#

json
{
  "clientId": "…",
  "content": "New build is out — changelog in the pinned message.",
  "targets": { "mode": "accounts", "accountIds": ["…"] },
  "schedule": { "type": "at", "at": "2026-10-01T09:00:00" },
  "variants": [
    { "platform": "telegram", "overrides": { "telegram": { "chatId": "-1001234567890" } } }
  ]
}
POST https://api.skedcast.com/v1/posts — Authorization: Bearer sked_live_…, Idempotency-Key: <uuid>

Telegram facts#

FactValue
Max caption length4,096 characters
Media per post10 media item per message via our adapter today.
Native platform schedulingNo — SkedCast's managed engine holds the timer
SkedCast's default pacingNo default daily cap; ~30s spacing per account
Published-post URL (permalink)https://t.me/{channel}/{id} for a public channel; https://t.me/c/{internal}/{id} for a private channel or supergroup (access-gated — resolves for members, which is everyone the post was for). A plain group or DM yields no link.

Reading status and results#

GET https://api.skedcast.com/v1/post-targets/:id returns the Telegram target's status (scheduled, published, failed, …), plus error, statusReason, and retryAt when it's parked waiting on something — SkedCast's own pacing, a platform rate limit, or media still transcoding, each with its own machine-readable reason. Once published, externalId and permalink (see the table above) point at the live post.

  • Subscribe to target.published / target.failed webhooks (or the legacy post.* pair) instead of polling — see [Webhooks](/developers/webhooks).
  • Or connect an MCP client and ask an agent to check — see [Connect an AI agent](/mcp).
Telegramapischedulingrest

FAQ

What can I schedule to Telegram through the API?
Telegram posts of type: text, photo, video, and document posts, via one `POST https://api.skedcast.com/v1/posts` call — the same endpoint used for every other connected platform.
How do I authenticate against the Telegram API endpoint?
The same way as every `/v1` route: an API key (`Authorization: Bearer sked_live_…`) or an OAuth 2.1 bearer token, scoped to `posts.compose` to schedule and `posts.read` to read back status. See Authentication.

Ready to broadcast everywhere?

Sign up free — no credit card. You land on the Free plan, and you can start a one-time 7-day Studio trial from your workspace whenever you are ready. Connect your first accounts, import a batch, and watch one post fan out across every platform.