GroundsocialDocs

API · Telegram

GET /telegram/posts

One public Telegram post: text, views, reactions, media, forward and reply.

RequestGET /v1/telegram/posts
Operation idtelegram.post.get
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

One public Telegram post: text, views, reactions, media, forward and reply.

Query parameters

NameTypeRequiredDescription
urlstringyesA public post link, https://t.me/<channel>/<id> (or <channel>/<id>). Example: https://t.me/durov/552.

Responses

StatusMeaningSchema
200The post.TelegramMessageResponse
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404No public Telegram chat or post by that name.Error
429Too many requests. Wait for Retry-After seconds.Error
503Telegram is temporarily unavailable. Retryable; nothing was charged.Error

TelegramMessageResponse fields

FieldTypeDescription
messageTelegramMessageA channel post or a comment, after the Bot API Message object.

Errors use one shape everywhere; see Errors for every code and what to do.