---
title: "Resolve the hosted DID document for a path-less DID."
method: GET
path: "/.well-known/did.json"
tags: ["DID Hosting"]
---

# Resolve the hosted DID document for a path-less DID.

`GET /.well-known/did.json`

Returns the `did.json` for the DID whose web location is the request host
with no path (`did:web:<host>` or the did:web companion of
`did:webvh:<scid>:<host>`).

## Response `200`

The hosted DID document.

## Other responses

- `404` — No DID document is hosted at this location.
- `410` — The DID hosted at this location has been deactivated.

---

[API](https://skmtc.dev/sphereon-opensource/apis/did-hosting-api.md) · [All operations](https://skmtc.dev/sphereon-opensource/apis/did-hosting-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sphereon-opensource/did-hosting-api/revisions/18cdc76cfe6b/schema)
