Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
platform
enum<string>
required
Available options:
android,
ios,
web
device_identifier
string
required
Maximum string length: 255
push_token
string
required
write-only
Maximum string length: 8192

Response

Device registered; token is encrypted at rest and never returned.

id
string
required
platform
enum<string>
required
Available options:
android,
ios,
web
device_identifier
string
required
status
enum<string>
required
Available options:
active,
revoked
last_seen_at
string<date-time>
required