APIEndpoint referenceAdmin
/admin/send-custom-message
The legacy route let an anonymous caller broadcast arbitrary text to every Telegram subscriber.
The legacy route let an anonymous caller broadcast arbitrary text to every Telegram subscriber. The replacement deliberately requires a superadmin in production.
AuthorizationBearer <token>
Supabase access token.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/admin/send-custom-message" \ -H "Content-Type: application/json" \ -d '{ "message": "string" }'{ "message": "string", "subscriberCount": 0, "success": true}