Skip to main content
POST
Register a push subscription

Authorizations

X-Api-Key
string
header
required

API key for authentication. Generate one from your account settings.

Body

application/json
token
string
required

APNs device token (hex string, 64–200 lowercase hex characters).

environment
enum<string>
required

APNs environment the token belongs to.

Available options:
sandbox,
production
platform
enum<string>
required

The platform of the device. Currently only ios is supported.

Available options:
ios

Response

push subscription registered or updated

id
string<uuid>
required
environment
enum<string>
required
Available options:
sandbox,
production
platform
enum<string>
required
Available options:
ios
last_registered_at
string<date-time>
required

When the device last registered this token.