Skip to main content
GET
/
tg_subscription
curl -X GET https://scrape.st/tg_subscription \
  -H "x-api-key: YOUR_API_KEY"
{
  "data": {
    "id": "clx0...",
    "apiKey": "YOUR_API_KEY",
    "chatId": "-1001234567890",
    "name": "alerts",
    "status": "ACTIVE"
  },
  "message": "Subscription retrieved"
}
Returns the Telegram chat subscription registered for the calling API key, or null if none exists.

Response

data
object | null
The subscription: id, apiKey, chatId, name, status. null when no chat is subscribed.
message
string
Subscription retrieved or No subscription for this API key.
curl -X GET https://scrape.st/tg_subscription \
  -H "x-api-key: YOUR_API_KEY"
{
  "data": {
    "id": "clx0...",
    "apiKey": "YOUR_API_KEY",
    "chatId": "-1001234567890",
    "name": "alerts",
    "status": "ACTIVE"
  },
  "message": "Subscription retrieved"
}