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

Fetch Identity using Issuer Address

Before you begin

Fetch an identity and its associated content through the issuer's wallet address.

Let's start 🚀

To retrieve all information on an identity, use https://custody.arianee.com/{{client}}/{{network}}/identity/get.

InputMandatoryTypeDescription
issuerStringIssuer wallet address.
{
    "issuer": "0x57F5111A7e997a7Ba63CC8976C92decbd86C1B08"
}

Example:

curl --request POST \
     --url https://test.arianee.com/client/testnet/identity/get \
     --header 'accept: application/json; charset=utf-8' \
     --header 'authorization: Bearer eyJhbGciOiJS...' \
     --header 'content-type: application/json' \
     --data '
{
  "issuer": "0x57F5111A7e997a7Ba63CC8976C92decbd86C1B08"
}
'

Result:

httpCodeDescription
200The identity is returned.
400Parameters in the request may be wrong.
{
    "data": {
        "address": "0x57F5111A7e997a7Ba63CC8976C92decbd86C1B08",
        "imprint": "0xdfee9c6b92e2cb9a5fc6b4b394f46926510fc66db9faa694c53c61d4307cf883",
        "isApproved": true,
        "isAuthentic": true,
        "content": {
            "$schema": "https://cert.arianee.org/version2/ArianeeBrandIdentity-i18n.json",
            "name": "NMP Arianee",
            "companyName": "Arianee",
            "arianeeMembership": "associate_member",
            "rpcEndpoint": "https://nmp.arianee.com/rpc"
        },
        "rawContent": {
            "$schema": "https://cert.arianee.org/version2/ArianeeBrandIdentity-i18n.json",
            "name": "BDH STEF",
            "companyName": "Arianee",
            "arianeeMembership": "associate_member",
            "rpcEndpoint": "https://nmp.arianee.com/rpc"
        },
        "protocol": {
            "name": "testnet",
            "chainId": 77
        }
    }
}
{
    "errors": [
        {
            "type": "field",
            "value": "0x57F5111A7e997a7Ba63CC8976C92decbd86C1B0",
            "msg": "issuer parameter is required and must be an ethereum address",
            "path": "issuer",
            "location": "body"
        }
    ]
}