APIEndpoint referenceAdmin

/admin/send-custom-message

SECURITY: this endpoint has no authentication, in the original or here, and it broadcasts an arbitrary message to every Telegram subscriber.

POST
/api/v2/admin/send-custom-message

SECURITY: this endpoint has no authentication, in the original or here, and it broadcasts an arbitrary message to every Telegram subscriber. It is the most exposed of the unauthenticated endpoints in this API. Kept faithful, and raised separately — closing it is a product decision.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/api/v2/admin/send-custom-message" \  -H "Content-Type: application/json" \  -d '{    "message": "string"  }'
{  "$schema": "https://example.com/schemas/AdminSendCustomMessageOKBody.json",  "message": "string",  "subscriberCount": 0,  "success": true}