Menu

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

idstringrequired

uuid

Returns

Returns 200 OK with a PushInstallation in data. Otherwise returns an error; Errors lists every code and which to retry.

idstringrequired

uuid

contactIdstringrequired

uuid

pushAppIdstringrequired

uuid

externalInstallationIdstringrequired

Your own id for the device, as registered.

platformstringrequired

one of ios, android, web

environmentstringrequired

one of sandbox, production

permissionstringrequired

one of granted, denied

activebooleanrequired

False once the device is disabled or its token is refused.

invalidatedAtstring | nullrequired

When the provider refused the token or the device was disabled.

date-time

lastSeenAtstringrequired

When the device last registered or refreshed.

date-time

sdkstring | nullrequired

The Kirora SDK and version that last registered it; null from a server.

createdAtstringrequired

date-time