1. Identity
  2. Fetch Document by Alias
GET

/sonr-io/sonr/identity/key

aka_id
curl --request GET \
     --url https://api.sonr.network/sonr-io/sonr/identity/key \

‚Äč
Parameters

aka_id
string

Human readable alias to query for

{
  "didDocument": {
    "context": [
      "string"
    ],
    "creator": "string",
    "iD": "string",
    "controller": [
      "string"
    ],
    "verification_method": {
      "data": [
        {
          "iD": "string",
          "type": "KeyType_UNSPECIFIED",
          "controller": "string",
          "public_key_jwk": {
            "additionalProp1": "string",
            "additionalProp2": "string",
            "additionalProp3": "string"
          },
          "public_key_multibase": "string",
          "blockchain_account_id": "string",
          "webauthn_credential": {
            "id": "string",
            "public_key": "string",
            "attestation_type": "string",
            "authenticator_transport": "string",
            "authenticator": {
              "aaguid": "string",
              "sign_count": 0,
              "clone_warning": true
            }
          }
        }
      ]
    },
    "authentication": {
      "data": [
        {
          "verification_method": {
            "iD": "string",
            "type": "KeyType_UNSPECIFIED",
            "controller": "string",
            "public_key_jwk": {
              "additionalProp1": "string",
              "additionalProp2": "string",
              "additionalProp3": "string"
            },
            "public_key_multibase": "string",
            "blockchain_account_id": "string",
            "webauthn_credential": {
              "id": "string",
              "public_key": "string",
              "attestation_type": "string",
              "authenticator_transport": "string",
              "authenticator": {
                "aaguid": "string",
                "sign_count": 0,
                "clone_warning": true
              }
            }
          },
          "reference": "string"
        }
      ]
    },
    "assertion_method": {
      "data": [
        {
          "verification_method": {
            "iD": "string",
            "type": "KeyType_UNSPECIFIED",
            "controller": "string",
            "public_key_jwk": {
              "additionalProp1": "string",
              "additionalProp2": "string",
              "additionalProp3": "string"
            },
            "public_key_multibase": "string",
            "blockchain_account_id": "string",
            "webauthn_credential": {
              "id": "string",
              "public_key": "string",
              "attestation_type": "string",
              "authenticator_transport": "string",
              "authenticator": {
                "aaguid": "string",
                "sign_count": 0,
                "clone_warning": true
              }
            }
          },
          "reference": "string"
        }
      ]
    },
    "capability_invocation": {
      "data": [
        {
          "verification_method": {
            "iD": "string",
            "type": "KeyType_UNSPECIFIED",
            "controller": "string",
            "public_key_jwk": {
              "additionalProp1": "string",
              "additionalProp2": "string",
              "additionalProp3": "string"
            },
            "public_key_multibase": "string",
            "blockchain_account_id": "string",
            "webauthn_credential": {
              "id": "string",
              "public_key": "string",
              "attestation_type": "string",
              "authenticator_transport": "string",
              "authenticator": {
                "aaguid": "string",
                "sign_count": 0,
                "clone_warning": true
              }
            }
          },
          "reference": "string"
        }
      ]
    },
    "capability_delegation": {
      "data": [
        {
          "verification_method": {
            "iD": "string",
            "type": "KeyType_UNSPECIFIED",
            "controller": "string",
            "public_key_jwk": {
              "additionalProp1": "string",
              "additionalProp2": "string",
              "additionalProp3": "string"
            },
            "public_key_multibase": "string",
            "blockchain_account_id": "string",
            "webauthn_credential": {
              "id": "string",
              "public_key": "string",
              "attestation_type": "string",
              "authenticator_transport": "string",
              "authenticator": {
                "aaguid": "string",
                "sign_count": 0,
                "clone_warning": true
              }
            }
          },
          "reference": "string"
        }
      ]
    },
    "key_agreement": {
      "data": [
        {
          "verification_method": {
            "iD": "string",
            "type": "KeyType_UNSPECIFIED",
            "controller": "string",
            "public_key_jwk": {
              "additionalProp1": "string",
              "additionalProp2": "string",
              "additionalProp3": "string"
            },
            "public_key_multibase": "string",
            "blockchain_account_id": "string",
            "webauthn_credential": {
              "id": "string",
              "public_key": "string",
              "attestation_type": "string",
              "authenticator_transport": "string",
              "authenticator": {
                "aaguid": "string",
                "sign_count": 0,
                "clone_warning": true
              }
            }
          },
          "reference": "string"
        }
      ]
    },
    "service": {
      "data": [
        {
          "iD": "string",
          "type": "ServiceType_UNSPECIFIED",
          "service_endpoint": "string",
          "service_endpoints": {
            "additionalProp1": "string",
            "additionalProp2": "string",
            "additionalProp3": "string"
          }
        }
      ]
    },
    "also_known_as": [
      "string"
    ]
  }
}