Skip to main content

Push API

Mobile push notification delivery and device registration Base path: /api/v1/push Endpoint count: 5

List push notification categories

GET /api/v1/push/categories

Get push notification category by ID

GET /api/v1/push/categories/{id}
id
string
required

Create a push notification category

POST /api/v1/push/categories
Per-tenant APNs / FCM notification category. The identifier is wire-bound — the iOS / Android client matches on it — so it cannot be modified after create.

Report device-side push wake telemetry

POST /api/v1/push/telemetry
Mobile / web clients call this every ~15min after a push wake to report battery_pct + wake_count + delivery_latency_ms. The dashboard surfaces the aggregate so operators can see how much battery the app draws.
device_token_id
string
required
ID of the registered device token this report belongs to. Returned when you register the token.
platform
string
required
Device platform. One of ios, android, web, huawei — must match the registered token’s platform.
battery_pct
integer
Battery percentage (0–100) at the most recent push wake. Omit or send null on platforms that don’t expose it, such as web push.
on_charger
boolean
Whether the device was charging at the moment of the wake.
wake_count
integer
Push wake-ups attributed to the app since the last report (0–10000).
delivery_latency_ms
integer
Milliseconds between the server push fan-out and client receipt (0–600000).
app_version
string
App version string for the dashboard breakdown, for example 3.4.1 (max 32 characters).
device_token_id and platform are required — a request that omits either is rejected with 422.

Delete push notification category

DELETE /api/v1/push/categories/{id}
id
string
required