Register the creator’s personal notification chat
API reference

Register the creator’s personal notification chat

Stores a Telegram chat id as the creator's **personal** notification target — the DM their sale notifications go to.

View as MarkdownUpdated Aug 19, 2026
POST/api/external/register-telegram-chat

Stores a Telegram chat id as the creator's personal notification target — the DM their sale notifications go to.

Unlike add-group, the id is not verified against Telegram — a wrong id silently breaks the creator's notifications until corrected. Prefer letting the creator connect through the Dropfans dashboard; use this only when your app already knows the correct chat id (e.g. the creator is talking to your bot).

This rewrites the creator's live notification settings

The same fields power the creator's own Dropfans → Telegram sale notifications. Changing them here changes where the creator's notifications go — including notifications your app has nothing to do with. Only call this when the creator explicitly asked for it.

Authentication

Send the creator's API key as a bearer token: Authorization: Bearer dpfn_…. See Authentication & API keys.

Request body

Content type: application/json

NameTypeRequiredDescription
telegramChatIdstringRequiredThe Telegram chat id of the creator’s DM with the notification bot. Stored as-is, unverified.
Register a personal chat
{
  "telegramChatId": "123456789"
}

Responses

200Stored.
NameTypeDescription
successbooleanAlways true.
Example response
{
  "success": true
}

Errors

StatusBodyWhen
400{"error":"Invalid JSON body"}The body is not valid JSON.
400{"error":"telegramChatId is required and must be a string"}Missing or non-string chat id.
401{"error":"Unauthorized","code":"unauthorized"}Missing or invalid API key.

Rate limiting

Every response carries the X-RateLimit-Tier header and, on limited tiers, the per-minute and per-day trios — read X-RateLimit-Remaining and X-RateLimit-Reset instead of hardcoding limits. Details in Rate limits.

Code samples

curl -X POST "https://www.dropfans.io/api/external/register-telegram-chat" \
  -H "Authorization: Bearer $DROPFANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "telegramChatId": "123456789"
}'

Questions? [email protected]