---
title: "Resolve the hosted DID document for a DID with a path."
method: GET
path: "/{path}/did.json"
tags: ["DID Hosting"]
---

# Resolve the hosted DID document for a DID with a path.

`GET /{path}/did.json`

Returns the `did.json` for the DID whose web location is the request host
plus a path. `path` is one or more URL segments (the colon-delimited DID
path segments rendered with slashes), up to the configured maximum depth.
For example `did:web:example.com:tenants:acme` is served at
`/tenants/acme/did.json`.

## Path parameters

- `path` string, required

## 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)
