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

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

Changes