Push
See Extending → Push notifications for the provider setup behind this endpoint.
POST /push/send
Section titled “POST /push/send”{ "collection": "users", "recordId": "abc123", "title": "New comment", "body": "...", "data": { "postId": "xyz" } }Target either a record’s subscriptions (collection + recordId) or
specific rows directly (subscriptionIds, which takes priority when
set). Superuser-only rather than any-authenticated-record — unlike
/llm/chat, the target is
caller-chosen and can name any record’s subscriptions, so this is an
operator action, not something a record’s own rules gate. A
collection’s own record-driven push (settings.push.triggers) does not
go through this endpoint at all.
{ "sent": 2, "failed": 1, "results": [ { "id": "...", "platform": "web", "ok": true, "error": null }, { "id": "...", "platform": "android", "ok": false, "error": "invalid registration token" } ] }200 even when some individual targets failed — check results for
per-target outcomes rather than relying on the HTTP status alone.