Skip to content

com.atproto.server.refreshSession

Lexicon Version: 1

Type: procedure

Refresh an authentication session. Requires auth using the ‘refreshJwt’ (not the ‘accessJwt’).

Parameters: (None defined)

Output:

  • Encoding: application/json
  • Schema:

Schema Type: object

NameTypeReq’dDescriptionConstraints
accessJwtstring
refreshJwtstring
handlestringFormat: handle
didstringFormat: did
didDocunknown
activeboolean
statusstringHosting status of the account. If not specified, then assume ‘active’.Known Values: takendown, suspended, deactivated
Possible Errors:
  • AccountTakedown

{
"lexicon": 1,
"id": "com.atproto.server.refreshSession",
"defs": {
"main": {
"type": "procedure",
"description": "Refresh an authentication session. Requires auth using the 'refreshJwt' (not the 'accessJwt').",
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": [
"accessJwt",
"refreshJwt",
"handle",
"did"
],
"properties": {
"accessJwt": {
"type": "string"
},
"refreshJwt": {
"type": "string"
},
"handle": {
"type": "string",
"format": "handle"
},
"did": {
"type": "string",
"format": "did"
},
"didDoc": {
"type": "unknown"
},
"active": {
"type": "boolean"
},
"status": {
"type": "string",
"description": "Hosting status of the account. If not specified, then assume 'active'.",
"knownValues": [
"takendown",
"suspended",
"deactivated"
]
}
}
}
},
"errors": [
{
"name": "AccountTakedown"
}
]
}
}
}