[NEW - TBC] Message

Retrieve dMessages and their associated private content if authorized. As content being private, an Arianee Access Token is required to authenticate.

Retrieve dMessages

Retrieve the data and content of dMessages for a given chain type and NFTs owned by a wallet.

Endpoint: GET - /arianee/messages/:chainType/received

InputMandatoryTypeDescription
Header - arianeeAccessTokenStringAuthentication.
Query param - languageStringLanguage(s) to return.
chainTypemainnet or testnetBlockchain network of the NFT ID.

Result:

httpCodeDescription
200The dMessages data and content are returned.
403Authentication is missing.
500Server error.
[
    {
        "certificateId": "1",
        "id": "1",
        "imprint": "0x123456",
        "isRead": true,
        "protocol": {
            "name": "mainnet",
            "chainId": 99
        },
        "receiver": "0x9AFe9241ba9Dc3E33f09Dfeac578DE8eCd1d444E",
        "sender": "0x91c1959F96693fC98bF8fE2F6171CCA4d543BdCa",
        "timestamp": 1682574922,
        "content": {
            "$schema": "https://cert.arianee.org/version1/ArianeeMessage-i18n.json",
            "title": "test multi media",
            "content": "test multi media",
            "pictures": [
                {
                    "mediaType": "picture",
                    "type": "product",
                    "url": "https://bdh-maxime.api.staging.arianee.com/pub/1673515070642-u13313121b1a1-superocean-heritage-chronograph-44-soldier.png"
                },
                {
                    "mediaType": "picture",
                    "type": "product",
                    "url": "https://bdh-maxime.api.staging.arianee.com/pub/1673514958080-rafale-cloud-pink.jpg"
                },
                {
                    "mediaType": "youtube",
                    "type": "product",
                    "url": "https://www.youtube.com/watch?v=QHRuTYtSbJQ"
                }
            ]
        },
        "rawContent": {
            "$schema": "https://cert.arianee.org/version1/ArianeeMessage-i18n.json",
            "title": "test multi media",
            "content": "test multi media",
            "pictures": [
                {
                    "mediaType": "picture",
                    "type": "product",
                    "url": "https://bdh-maxime.api.staging.arianee.com/pub/1673515070642-u13313121b1a1-superocean-heritage-chronograph-44-soldier.png"
                },
                {
                    "mediaType": "picture",
                    "type": "product",
                    "url": "https://bdh-maxime.api.staging.arianee.com/pub/1673514958080-rafale-cloud-pink.jpg"
                },
                {
                    "mediaType": "youtube",
                    "type": "product",
                    "url": "https://www.youtube.com/watch?v=QHRuTYtSbJQ"
                }
            ]
        }
    },
    {
        "certificateId": "2",
        "id": "2",
        "imprint": "0x123456",
        "isRead": true,
        "protocol": {
            "name": "stadetoulousain",
            "chainId": 137
        },
        "receiver": "0x9AFe9241ba9Dc3E33f09Dfeac578DE8eCd1d444E",
        "sender": "0x3c9d7ccf2501857051b747f3A42c54588e7F3835",
        "timestamp": 1682574922,
        "content": {
            "$schema": "https://cert.arianee.org/version1/ArianeeMessage-i18n.json",
            "title": "Breitling owners repair service",
            "content": "At Breitling, we believe that owning a luxury timepiece should be more than just a status symbol - it should be a connection to a community of like-minded individuals who appreciate the artistry and craftsmanship that goes into each piece. That's why we offer an exclusive repair service, available only to Breitling owners who hold our digital product passport (NFT). This passport not only verifies the authenticity of your watch, but also links you directly to our brand, so you can stay up-to-date on our latest collections, events, and services.",
            "pictures": [
                {
                    "mediaType": "picture",
                    "type": "product",
                    "url": "https://bdh-breitling.api.pre-production.arianee.com/pub/m2294"
                }
            ],
            "externalContents": [
                {
                    "type": "website",
                    "title": "See the nearest Breitling Boutique",
                    "url": "https://www.breitling.com/us-en/"
                }
            ]
        },
        "rawContent": {
            "$schema": "https://cert.arianee.org/version1/ArianeeMessage-i18n.json",
            "title": "Breitling owners repair service",
            "content": "At Breitling, we believe that owning a luxury timepiece should be more than just a status symbol - it should be a connection to a community of like-minded individuals who appreciate the artistry and craftsmanship that goes into each piece. That's why we offer an exclusive repair service, available only to Breitling owners who hold our digital product passport (NFT). This passport not only verifies the authenticity of your watch, but also links you directly to our brand, so you can stay up-to-date on our latest collections, events, and services.",
            "pictures": [
                {
                    "mediaType": "picture",
                    "type": "product",
                    "url": "https://bdh-breitling.api.pre-production.arianee.com/pub/m2294"
                }
            ],
            "externalContents": [
                {
                    "type": "website",
                    "title": "See the nearest Breitling Boutique",
                    "url": "https://www.breitling.com/us-en/"
                }
            ]
        }
    }
]