Users

Add push token for user device

REQUIRED SCOPES <code>[‘users:write’]</code><br>This API endpoint request adds a token that is responsible for receiving push notifications when logged in so that the user’s device is capable of receiving pushes. <br><br>The POST request is sent as the user logs into the mobile application. <br><br>As a result, the user can receive notifications each time a message arrives to them.

post/users/devices

Query parameters

type'apple' | 'android' required
Example:apple

Device type

tokenstring required
Example:token

Push token

Response

OK

idinteger
push_tokenstring

Changes

No recorded changes to this endpoint across all 2 revisions of this API.