Mark Message As Read
Mark a received message as read for a given wallet.
Before you begin
Let's start 🚀
Use the /wallet/markAsRead
.
curl -X POST "https://custodial.arianee.com/testnet/wallet/markAsRead" -H "accept: application/json" -H "Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.ey..." Content-Type: "application/json" -d "[870569409]"
Input | Mandatory | Type | Description |
---|---|---|---|
messageId | ✅ | String | Message identification number to be marked as read. |
Result:
httpCode | Description |
---|---|
200 | The message is marked as read OR the message has already been marked as read. |
400 | Not authorized. You must be authenticated. |
{
"isTrue": true,
"code": "message.markasread",
"message": "message was mark as read"
}
{
"isTrue": false,
"code": "message.markasread",
"message": "message was already mark as read or cant be mark as read"
}
{
"message": "JWT cannot be decoded",
"code": "custodial.jwt.miscErrors"
}
Updated about 1 year ago