Message Inbox

getInboxMessages

post
https://cp.pushwoosh.com/json/1.3
/getInboxMessages
/getInboxMessages
Example
1
{
2
"request":
3
{
4
"application" : "XXXXX-XXXXX",
5
"userId" : "user_name_1",
6
"hwid" : "some_hwid",
7
"last_code" : "",
8
"count" : 20
9
}
10
}
Copied!

inboxStatus

post
https://cp.pushwoosh.com/json/1.3
/inboxStatus
/inboxStatus
Example
1
{
2
"request": {
3
"application" :"XXXXX-XXXXX",
4
"inbox_code": "874393934032909", // could be obtained from Message details in Control Panel or from "order" parameter of /getInboxMessages request
5
"hash" : "1C",
6
"hwid"` : "some_hwid",
7
"time" : 1539020254, // could be obtained from Message details in Control Panel or from "send_date" parameter of /getInboxMessages request
8
"userId" : "some_user",
9
"status" : 2, // 1-delivered, 2-read, 3-opened, 4-deleted (by a user)
10
"device_type" : 3
11
}
12
}
Copied!
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
Last modified 1mo ago