Fetch Received Messages

Fetch the dMessage a customer receives and retrieve information such as the digital passport receiver, if they have been read, and the content.

Workflow

Let's start πŸš€

URL

To fetch all the dMessages received by a digital passport owner, use https://custody.arianee.com/{{client}}/{{network}}/messages/getReceived.

POST - https://custody.arianee.com/{{client}}/{{network}}/messages/getReceived

Return Payload

Status CodeSuccessDescription
200trueThe dMessages are returned.
[
    {
        "data": {
            "id": "617768167",
            "certificateId": "287574096",
            "content": {
                "$schema": "https://cert.arianee.org/version1/ArianeeMessage-i18n.json",
                "language": "en-US",
                "title": "Welcome to Arianee NFTs",
                "content": " Test automessage 25/04 15:38"
            },
            "rawContent": {
                "$schema": "https://cert.arianee.org/version1/ArianeeMessage-i18n.json",
                "language": "en-US",
                "title": "Welcome to Arianee NFTs",
                "content": " Test automessage 25/04 15:38"
            },
            "imprint": "TODO",
            "isRead": true,
            "protocol": {
                "name": "testnet",
                "chainId": 77
            },
            "receiver": "0xa45d9dacbea470cf93e8454aca5eca4e62fb5fcf",
            "sender": "0x57f5111a7e997a7ba63cc8976c92decbd86c1b08",
            "timestamp": 1686817705
        }
    }
]