API endpoints
Every endpoint you can call with a server API key, and what the SDKs call for you.
All paths start with your API base URL, for example https://push.example.com/api/v1. See API authentication for the headers.
Server API key
Call these from your own backend with x-app-id, x-tenant-id and x-api-key. Every response carries X-RateLimit-Limit and X-RateLimit-Remaining; a 429 includes Retry-After in seconds.
| Method and path | What it does | Guide |
|---|---|---|
POST /push/send | Sends push to Android, iOS and web, WhatsApp, or an email campaign. Supports segments, schedules, A/B tests and follow-ups. | Send API |
POST /events | Records 1 to 100 custom events for devices or external user ids. A journey can start from them. | Custom events |
POST /live-activities | Starts a Live Activity. Optional Idempotency-Key header. | Live Activities |
PATCH /live-activities/{key} | Updates the fields that changed in state, and optionally endsAt or staleAt. | Live Activities |
POST /live-activities/{key}/end | Ends it, with an optional final state. | Live Activities |
POST /email/api/subscribers | Adds an email subscriber, with an optional externalUserId. |
Live Activity fields
| Field | Description |
|---|---|
activityKey | Required. Your own id, such as order-1042. Used in the update and end paths. |
layout | Required. delivery, steps, score, price, countdown, pass or dynamic. |
audience | Required. device with deviceId, user with externalUserId, or broadcast for every subscriber. |
state | Required. The fields of the layout. dynamic holds blocks for the dynamic layout. |
endsAt, staleAt | Optional ISO 8601 times. An activity always ends 8 hours after it starts. |
Public endpoints
| Method and path | What it does |
|---|---|
GET /sdk/{appId}/mobile-runtime, /web-runtime | Returns the tenant id, API address and settings for an app. The SDKs call it at start. |
GET /sdk/{appId}/web.js, /web.es6.js | The web SDK script. |
GET /push-links/public/{slug} | The content of a Push Link page, used by the hosted page. |
Called by the SDKs
The SDKs call these with a short-lived device token from the runtime endpoint. You do not call them yourself; they are listed so you can recognise them in logs and firewall rules.
| Method and path | Called when |
|---|---|
POST /devices/register | The app starts, a token changes, or login, sendTag, setWhatsAppPhone run. |
POST /devices/{deviceId}/session | A session starts or ends, or an outcome is recorded, including an in-app Send outcome click action. |
PATCH /devices/{deviceId}/preferences | The person subscribes, unsubscribes or mutes a category. |
POST /notifications/events | A notification is delivered, opened, clicked or dismissed. |
POST /events/sdk | PushFyre.trigger records an event. |
GET /in-app/sdk/messages, POST /in-app/sdk/events | In-app messages are fetched, seen, tapped, closed or answered. |
POST /email/sdk/subscribe, /unsubscribe | setEmail and removeEmail. |
POST /live-activities/sdk/tokens, /sdk/{key}/subscribe, /unsubscribe | iOS registers Live Activity tokens; the web joins or leaves an activity. |
Journeys, segments, templates, in-app campaigns and Push Links are managed in the portal. They have no API-key endpoints. Start a journey by sending its entry event.