Operations related to mobile push subscriptions.

Register a mobile device for push notifications

POST /api/v4/user/push_subscriptions

Idempotently registers the calling user’s device token for APNs push notifications. Re-registering an existing token refreshes its attributes; a token previously owned by another user is reassigned to the calling user.

Request body (application/json)

PropertyTypeDescription
apns_environmentStringThe APNs environment the token was issued for
Allowed values: production, sandbox
Default: production
app_versionStringThe installed application version
bundle_idStringThe application bundle identifier
device_nameStringA human-readable device name
device_token
Required
StringThe hexadecimal APNs device token
localeStringThe device locale
payload_modeStringWhether notifications carry the full content or only identifiers
Allowed values: full, id_only
platformStringThe device platform
Allowed values: ios, macos

Responses

CodeDescriptionSchema
201CreatedAPIEntitiesMobilePushSubscription
400Bad Request—
401Unauthorized—
404Not Found—

Unregister a mobile device from push notifications

DELETE /api/v4/user/push_subscriptions

Removes the calling user’s push subscriptions for the given device token.

Parameters

NameTypeDescription
device_token
Query, required
StringThe hexadecimal APNs device token

Responses

CodeDescriptionSchema
204No Content—
400Bad Request—
401Unauthorized—
404Not Found—

Schemas

Objects returned by the operations above and objects nested in their request bodies.

APIEntitiesMobilePushSubscription

PropertyTypeDescription
created_atString (date-time)Example: 2026-07-30T12:00:00.000Z
idInteger (int64)Example: 1