Skip to main content
POST
Register an APNs device token

Authorizations

X-Api-Key
string
header
required

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

Body

application/json
token
string
required
Maximum string length: 2048
Pattern: ^(?:[0-9a-fA-F]{2})+$
environment
enum<string>
required
Available options:
sandbox,
production
platform
enum<string>
required
Available options:
ios
device_key
string

Optional 256-bit installation secret, unique per server and kept in device secure storage. Required proof to replace another user’s registration for this device. Never returned.

Pattern: ^[0-9a-f]{64}$

Response

token registered

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