DevelopersAPI referenceNotificationsDevices
Register this install for push
Idempotent on the token — apps re-register on every launch. A token that reappears under a different user moves to that user rather than duplicating, so a shared device never receives the previous signed-in user's notifications.
View as MarkdownAuthorization
bearer AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/devices" \ -H "Content-Type: application/json" \ -d '{ "token": "string", "platform": "ios" }'{ "device": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "platform": "ios", "appVersion": "string", "lastSeenAt": "2019-08-24T14:15:22Z", "created": "2019-08-24T14:15:22Z" }}Event consumer health, for an uptime monitor
200 while every event consumer is ok, 503 when one is stalled (events wait and its cursor hasn't moved) or has open dead letters. Counts only. /health stays 200 for pod probes; this one is for the external uptime monitor (EAS-467).
Stop pushing to this install
Called on sign-out. Owner-scoped.