API reference
Devices
3 endpoints under /v1/devices.
List devices
get
/v1/devicesRequiresdevices:write
Headers
X-Organization-IDstringoptional
Failures return the error envelope; branch on error_code.
Request
Response
Register a push device.
post
/v1/devicesIdempotent on push_token. Re-registering moves the existing row instead of duplicating it, so it is safe to call on every launch.
Requiresdevices:write
Headers
X-Organization-IDstringoptional
Request body
platformstringrequiredpush_tokenstringrequiredapns_environmentstringoptionalinstallation_idstring (uuid)optional
Failures return the error envelope; branch on error_code.
Request
Response
Remove device
delete
/v1/devices/{device_id}Requiresdevices:write
Path parameters
device_idstring (uuid)required
Headers
X-Organization-IDstringoptional
Failures return the error envelope; branch on error_code.
Request
Response