Skip to content

Resolves an identity (DID or Handle) to a full identity (DID document and verified handle).

GET
/xrpc/com.atproto.identity.resolveIdentity
curl --request GET \
--url 'https://example.com/xrpc/com.atproto.identity.resolveIdentity?identifier=example'
identifier
required

Handle or DID to resolve.

string format: at-identifier

Handle or DID to resolve.

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

Media typeapplication/json
object
error
required
One of:
string
Allowed value: HandleNotFound
message
required
string

Example

{
"error": "HandleNotFound"
}