getUserMessages
Returns the list of messages for the current user. It includes inbox messages with subject, body, date, read status, and whether each message can be deleted. It is used to show the user’s inbox and message details, and to support marking messages as read and deleting them.
Documentation
Try it now
Request parameters:
Call example:
getUserMessages({
type: 1,
fromDate: 1717000000,
toDate: 1719000000
})Response examples:
{
hasError: false,
errorDetails: {
key: '',
message: ''
},
data: [{
body: '<p><font face=Roboto, sans-serif style=box-sizing:border-box;><font size=4>Hello Julia,</font>',
checked: 1,
date: 1773353033,
id: 4387705177,
subject: '€4 CopyCredits just for you – Opt in today!',
is_deletable: true
}]
}