Skip to content

com.atproto.identity.resolveHandle

Lexicon Version: 1

Type: query

Resolves an atproto handle (hostname) to a DID. Does not necessarily bi-directionally verify against the the DID document.

Parameters:

NameTypeReq’dDescriptionConstraints
handlestringThe handle to resolve.Format: handle
Output:
  • Encoding: application/json
  • Schema:

Schema Type: object

NameTypeReq’dDescriptionConstraints
didstringFormat: did
Possible Errors:
  • HandleNotFound: The resolution process confirmed that the handle does not resolve to any DID.

{
"lexicon": 1,
"id": "com.atproto.identity.resolveHandle",
"defs": {
"main": {
"type": "query",
"description": "Resolves an atproto handle (hostname) to a DID. Does not necessarily bi-directionally verify against the the DID document.",
"parameters": {
"type": "params",
"required": [
"handle"
],
"properties": {
"handle": {
"type": "string",
"format": "handle",
"description": "The handle to resolve."
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": [
"did"
],
"properties": {
"did": {
"type": "string",
"format": "did"
}
}
}
},
"errors": [
{
"name": "HandleNotFound",
"description": "The resolution process confirmed that the handle does not resolve to any DID."
}
]
}
}
}