{"response": {"messages": [ // array of messages currently stored in user's Inbox{"inbox_id" : "avde1c792cd","rt" : "146078676", // date to remove the message from Inbox"send_date" : "1459758676", // date when the message was saved to Inbox"order" : "59138176", // position in Inbox presentation order"title" : "New Rich Media in inbox!","text" : "Hi! New feature is available right now!","action_type" : "RichMedia","action_params": {"rm" : "{ \"url\" : \"https:\/\/richmedia.pushwoosh.com\/C82F7-51FC1.zip\" , \"ts\" : \"1459758676\" , \"tags\" : { \"tagName\" : \"tagValue\" } }"} // payload describing the actions on push opening"status" : 1, //1-delivered, 2-read, 3-opened, 4-deleted(by a user), 5-deleted from Control Panel"hash":"1C" // hash code of push notification},...],"next":"afarew511", // the next Inbox code to be returned by the following /getInboxMessages request"deleted": ["bbaf85ab", "a41957b"], // the list of messages deleted from Control Panel"new_inbox": 6 // the number of delivered Inbox messages for that user (can be used for badge)}}
Example{"request":{"application" : "XXXXX-XXXXX","userId" : "user_name_1","hwid" : "some_hwid","last_code" : "","count" : 20}}
{"status_code": 200,"status_message": "OK","response":null}
Example{"request": {"application" :"XXXXX-XXXXX","inbox_code": "874393934032909", // could be obtained from Message details in Control Panel or from "order" parameter of /getInboxMessages request"hash" : "1C","hwid"` : "some_hwid","time" : 1539020254, // could be obtained from Message details in Control Panel or from "send_date" parameter of /getInboxMessages request"userId" : "some_user","status" : 2, // 1-delivered, 2-read, 3-opened, 4-deleted (by a user)"device_type" : 3 // possible values: 1 — iOS; 2 — BB; 3 — Android; 5 — Windows Phone; 7 — OS X; 8 — Windows 8; 9 — Amazon; 10 — Safari; 11 — Chrome; 12 — Firefox; 13 - IE11; 17 - Huawei}}
Possible device types:
1 – iOS
2 – BB
3 – Android
5 – Windows Phone
7 – OS X
8 – Windows 8
9 – Amazon
10 – Safari
11 – Chrome
12 – Firefox
13 – IE11
17 – Huawei