StatsHub Docs
APIAPI v2V2 endpoint referenceAdmin

/admin/send-custom-message

POST
/admin/send-custom-message

Authorization

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/problem+json

application/problem+json

application/problem+json

application/problem+json

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