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

Fetch Wallet's Received Messages

Retrieve the messages received for a given wallet.

Before you begin

Let's start πŸš€

Use the /wallet/getMyMessages.

curl -X POST "https://custodial.arianee.com/testnet/wallet/getMyMessages" -H "accept: application/json" -H "Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.ey..."

Result:

httpCodeDescription
200Received message(s) returned.
400Not authorized. You must be authenticated.
[
    {
        "certificateId": "2370816",
        "to": "0x8B1135EFAAa9EC1f61A49Cf2271C6f25f283e632",
        "from": "0x90d181a3e977E8CcD7822B711Bb3A83E79beaEFF",
        "messageId": 870569409,
        "issuer": {
            "isIdentityVerified": true,
            "isIdentityAuthentic": true,
            "imprint": "0x138929ecd713c45995aac115afe9aaf8de839fe7b37dcf4aaac0efe636200828",
            "identity": {
                "data": {
                    "$schema": "https://cert.arianee.org/version2/ArianeeBrandIdentity-i18n.json",
                    "name": "Bdh End User",
                    "providers": [
                        {
                            "type": "custodialWallet",
                            "address": "test",
                            "url": "https://ariane.ee/"
                        }
                    ],
                    "rpcEndpoint": "https://bdh-enduser.api.staging.arianee.com/rpc"
                },
                "isAuthentic": true,
                "isApproved": true,
                "imprint": "0x138929ecd713c45995aac115afe9aaf8de839fe7b37dcf4aaac0efe636200828",
                "address": "0x90d181a3e977E8CcD7822B711Bb3A83E79beaEFF"
            }
        },
        "content": {
            "data": {
                "$schema": "https://cert.arianee.org/version1/ArianeeMessage-i18n.json",
                "title": "fref",
                "content": "fezafeza"
            },
            "imprint": "0x35e7ccea9633675b25770c69efb3464d1c3e29e3a262a51a19308ffc10660cef",
            "isAuthentic": true
        },
        "timestamp": 1695301405000,
        "isRead": true
    }
]
{
    "message": "JWT cannot be decoded",
    "code": "custodial.jwt.miscErrors"
}