Last Updated on : 2022-01-24 10:16:44
Mark the messages under a specified recipient ID as read or unread.
PUT: /v1.0/sdf/notifications/messages/actions-read
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
read_flag | String | true | Specifies whether a message is read. Valid values:
| |
recipient_id | String | true | The ID of a specified recipient. | |
message_ids | String | true | The list of message IDs, separated by a comma (,). Valid values: 0 to 200 . |
Parameter name | Type | Description |
---|---|---|
result | Boolean | Specifies whether the operation is successful. Valid values:
|
PUT: /v1.0/sdf/notifications/messages/acitons-read
{
"recipient_id": "bay1636698039708****",
"message_ids": "659937****,659947****",
"read_flag": 0
}
{
"result": true,
"t": 1637563727813,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback