v53

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-07186533829.2 KB
product:chat

Create device

Adds a new device to a user, if the same device already exists the call will have no effect

post/devices

Request body

hardware_idstring

Stable physical device identifier used to deduplicate pushes across push providers (e.g. APNs VoIP and Firebase on the same iOS device). Distinct from 'id', which is the push token.

idstring required

Device ID

push_provider'firebase' | 'apn' | 'huawei' | 'xiaomi' required

Push provider

push_provider_namestring

Push provider name

user_idstring

Server-side only. User ID which server acts upon

voip_tokenboolean

When true the token is for Apple VoIP push notifications

Response

Response

durationstring required

Duration of the request in milliseconds