curl --request GET \
--url https://api.example.com/did/resolve/{did}import requests
url = "https://api.example.com/did/resolve/{did}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/did/resolve/{did}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/did/resolve/{did}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/did/resolve/{did}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/did/resolve/{did}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/did/resolve/{did}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"@context": [
"https://www.w3.org/ns/did/v1",
"https://w3id.org/security/multikey/v1"
],
"id": "did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000",
"verificationMethod": [
{
"id": "did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000#key-1",
"type": "Ed25519VerificationKey2020",
"controller": "did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000",
"publicKeyMultibase": "z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK"
}
],
"authentication": [
"did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000#key-1"
],
"assertionMethod": [
"did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000#key-1"
],
"keyAgreement": [
"did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000#key-2"
]
}Resolve DID
Resolve a DID to its W3C DID 1.1 Document. Only DIDs with ACTIVE status resolve; an unknown or non-active DID returns 404. The document lists every registered key under verificationMethod, while authentication and assertionMethod reference only non-revoked keys.
curl --request GET \
--url https://api.example.com/did/resolve/{did}import requests
url = "https://api.example.com/did/resolve/{did}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/did/resolve/{did}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/did/resolve/{did}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/did/resolve/{did}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/did/resolve/{did}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/did/resolve/{did}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"@context": [
"https://www.w3.org/ns/did/v1",
"https://w3id.org/security/multikey/v1"
],
"id": "did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000",
"verificationMethod": [
{
"id": "did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000#key-1",
"type": "Ed25519VerificationKey2020",
"controller": "did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000",
"publicKeyMultibase": "z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK"
}
],
"authentication": [
"did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000#key-1"
],
"assertionMethod": [
"did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000#key-1"
],
"keyAgreement": [
"did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000#key-2"
]
}Headers
Pin request, response, and webhook shapes to a specific dated API version (YYYY-MM-DD). Omit to use the version pinned to your API key (set when the key is created; new keys default to the latest version). New integrations should target the latest version.
^\d{4}-\d{2}-\d{2}$"2026-09-01"
Path Parameters
The DID to resolve — a Humanos did:web identifier such as did:web:humanos.tech:org:<uuid> or did:web:humanos.tech:user:<uuid>. URL-encode the DID before placing it in the path (it contains : separators).
"did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000"
Response
The resolved W3C DID 1.1 Document for the requested DID.
JSON-LD contexts. MUST include the DID core v1 context.
[
"https://www.w3.org/ns/did/v1",
"https://w3id.org/security/multikey/v1"
]
The DID this document describes
"did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000"
Verification methods declared for this DID
Show child attributes
Show child attributes
Verification method IDs authorized for authentication
[
"did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000#key-1"
]
Verification method IDs authorized for making assertions
[
"did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000#key-1"
]
Verification method IDs authorized for key agreement
[
"did:web:humanos.tech:org:550e8400-e29b-41d4-a716-446655440000#key-2"
]