Send a push
send_pushSend a push notification to one user (user_id), a list (user_ids, up to 1,000), a topic, or everyone (all: true). Give exactly one target. A push to one user, sent now, answers with its result at once; others answer with status sending or scheduled. With a test key (sk_test_) only test devices receive it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | true to send to every device of the app. | |
| body | No | The text under it. | |
| data | No | Key and value pairs the app reads. With no title, the push is silent. | |
| link | No | A deep link or URL opened on tap. | |
| image | No | An https image URL. | |
| title | No | The notification title. | |
| topic | No | A topic name. | |
| fields | No | Values for the template's {{fields}}. | |
| send_at | No | An ISO time with a zone, up to 30 days ahead, like 2026-10-24T18:00:00+05:30. | |
| user_id | No | Your own id for one user. | |
| template | No | A saved template's name; title, body and the rest come from it. | |
| user_ids | No | Up to 1,000 of your user ids. | |
| marketing | No | true applies the app's daily cap of marketing pushes per user. | |
| fields_by_user | No | With user_ids: each user's own field values, keyed by user id. | |
| idempotency_key | No | Optional. The same key within 24 hours replays the first answer instead of sending again. |