Resolves an identity (DID or Handle) to a full identity (DID document and verified handle).
GET
/xrpc/com.atproto.identity.resolveIdentity
const url = 'https://example.com/xrpc/com.atproto.identity.resolveIdentity?identifier=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/xrpc/com.atproto.identity.resolveIdentity?identifier=example'Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”identifier
required
Handle or DID to resolve.
string format: at-identifier
Handle or DID to resolve.
Responses
Section titled “Responses”Success
Media typeapplication/json
object
did
required
string format: did
didDoc
required
The complete DID document for the identity.
handle
required
The validated handle of the account; or ‘handle.invalid’ if the handle did not bi-directionally match the DID document.
string format: handle
Example generated
{ "did": "example", "didDoc": "example", "handle": "example"}Bad Request
