These docs are for v1.9. Click to read the latest docs for v2.1.

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]"
InputMandatoryTypeDescription
messageIdStringMessage identification number to be marked as read.

Result:

httpCodeDescription
200The message is marked as read OR the message has already been marked as read.
400Not 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"
}