Message Inbox API
List of methods for working with Message Inbox
getInboxMessages
Returns the list of Inbox messages for a specified User ID or HWID.
POST
https://api.pushwoosh.com/json/1.3/getInboxMessages
Request Body
Name | Type | Description |
---|---|---|
application* | string | Pushwoosh app code. |
userId* | string | If no custom user ID is set, use HWID. |
hwid | string | Hardware ID of a device to get the Inbox messages for. |
last_code | string | Code of the last message retrieved in the previous response. If empty, the first messages are returned. |
count | integer | The number of messages to be showed in a single response; used for pagination. 0 for loading all messages in Inbox. |
For iOS, please make sure that you have added the Notification Service Extension to your project for tracking push delivery. Learn more
inboxStatus
Updates the status of a particular Inbox message.
POST
https://api.pushwoosh.com/json/1.3/inboxStatus
Request Body
Name | Type | Description |
---|---|---|
application* | string | Pushwoosh app code. |
inbox_code* | string | could be obtained from Message details in Control Panel or from the "order" parameter of the /geInboxMessages request |
hash | string | Hash code of Inbox message. |
hwid | string | Hardware ID of the device to update Inbox status for. |
time | string | Send date timestamp. |
userID* | string | If no custom user ID is set, use HWID. |
status* | integer | 1 - delivered, 2 - read, 3 - opened, 4 - deleted by a user. |
device_type | integer | See possible values below. |
Last updated