Register or update an installation

Creates the installation on its first request, which names its platform, and updates it on every later one. The body is a partial update sent as application/json: a field left out keeps its value, and push is replaced whole.

When the app sends what:

  • At sign-in: the device fields, push and logins together, since only a request naming your logins takes over an installation someone else was signed in on.
  • At launch while signed in, and whenever the push token changes: the device fields and push.
  • When your extensions change (a token refresh that assigns or unassigns one): logins, the complete list.
  • When the operating system invalidates the push token: { "push": null }.
  • At sign-out, before the app token is discarded: { "logins": [] }.

Response: { data }, the installation as stored, with your extensions bound to it. The push token is never returned.

Notes:

  • Only an app token, signed in as a person, is accepted: an API key is refused with forbidden. The person is always the one signed in; nothing in the body names one.
  • A refused request changes nothing.
  • A request can be retried as sent: the same body leaves the same state.
  • Every answer carries X-Request-Id and Cache-Control: private, no-store.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

The installation's id: a random UUID the app generates once and keeps for as long as it is installed.

Body Params

A partial update sent as application/json: a field left out keeps its value, and push is replaced whole (all three parts, or null). A field not listed here is refused (parameter_unknown).

string
enum

Required on the first request for an installation, which creates it.

Allowed:
string
length between 1 and 255

The app's bundle id or package name.

string
length between 1 and 64
string
length between 1 and 64
string
length between 1 and 128

The hardware model identifier, for example Apple iPhone17,1.

push
object | null

The push token the operating system issued, its three parts together (RFC 8599 pn-provider, pn-prid, pn-param). null clears it, once the operating system has invalidated it.

logins
array of objects, unique
length ≤ 50

The complete list of your extensions this installation takes calls for, each once; it replaces the list stored. [] unbinds yours (send it when signing out). Each must be one of your own enabled extensions. A non-empty list also takes over an installation another person signed in on: their bindings are switched off.

logins
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json