Push installations
Register a push installation
POST/v1/contacts/{id}/installations
Requires an API key with the contacts:write scope. About keys and scopes
Registers a device or browser subscription against a contact so push can reach it. Re-registering the same token updates the existing installation rather than creating a duplicate.
Path parameters
idstringrequireduuid
Returns
Returns 200 OK with a PushInstallation in data. Otherwise returns an error; Errors lists every code and which to retry.
idstringrequireduuid
contactIdstringrequireduuid
pushAppIdstringrequireduuid
externalInstallationIdstringrequiredYour own id for the device, as registered.
platformstringrequiredone of
ios,android,webenvironmentstringrequiredone of
sandbox,productionpermissionstringrequiredone of
granted,deniedactivebooleanrequiredFalse once the device is disabled or its token is refused.
invalidatedAtstring | nullrequiredWhen the provider refused the token or the device was disabled.
date-time
lastSeenAtstringrequiredWhen the device last registered or refreshed.
date-time
sdkstring | nullrequiredThe Kirora SDK and version that last registered it; null from a server.
createdAtstringrequireddate-time