Skip to main content
POST
Register a Push Device

Register a Push Device

Registers or refreshes a device, typically from your app backend after the app receives its APNs or Firebase token. Registering a known token again reactivates it, refreshes its metadata, and moves it to the contact you pass. An unknown email becomes a contact quietly: no lists and no contact_added sequences. Each contact keeps up to 20 active devices; the least recently seen are retired. Returns 201 for a new token and 200 for a known one. Requires the subscribers:write scope.

Request

string
required
ios, android, or web.
string
required
iOS: the hex APNs device token. Android: the FCM registration token. Web: the PushSubscription endpoint (also send keys).
object
Web only: PushSubscription.toJSON().keys with p256dh and auth.
string
Contact to link. Created quietly when new.
string
Existing subscriber to link instead of email.
string
Label shown in the dashboard.
string
Your app version.
string
Operating system version.
string
Device locale, for example en-US.
string
IANA timezone.

Responses