Skip to main content

Attach mobile device and extra props to the session object

PUT 

/api/v4/users/sessions/device

Attach extra props to the session object of the currently logged in session. Adding a mobile device id will enable push notifications for a user, if configured by the server. Other props are also available, like whether the device has notifications disabled and the mobile version.

Permissions

Must be authenticated.

Request

Responses

Device id attach successful