1. Identity
  2. Fetch Document
GET

/sonr-io/sonr/identity/did

did*
curl --request GET \
     --url https://api.sonr.network/sonr-io/sonr/identity/did \

‚Äč
Parameters

didRequired
string

did is the DID of the document to retrieve.

{
  "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"
        }
      ]
    },
    "authentication": {
      "data": [
        {
          "verification_method": {
            "iD": "string",
            "type": "KeyType_UNSPECIFIED",
            "controller": "string",
            "public_key_jwk": {
              "additionalProp1": "string",
              "additionalProp2": "string",
              "additionalProp3": "string"
            },
            "public_key_multibase": "string"
          },
          "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"
          },
          "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"
          },
          "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"
          },
          "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"
          },
          "reference": "string"
        }
      ]
    },
    "service": {
      "data": [
        {
          "iD": "string",
          "type": "string",
          "service_endpoint": "string",
          "service_endpoints": {
            "additionalProp1": "string",
            "additionalProp2": "string",
            "additionalProp3": "string"
          }
        }
      ]
    },
    "also_known_as": ["string"]
  }
}