com.atproto.server.refreshSession
POST/xrpc/com.atproto.server.refreshSession
This endpoint is part of the atproto PDS server and account management APIs. Requests often require authentication and are made directly to the user's own PDS instance.
To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.
Refresh an authentication session. Requires auth using the 'refreshJwt' (not the 'accessJwt').
Request
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
accessJwt stringrequired
refreshJwt stringrequired
handle handlerequired
did didrequired
didDoc
active boolean
status string
Possible values: [takendown
, suspended
, deactivated
]
Hosting status of the account. If not specified, then assume 'active'.
{
"accessJwt": "string",
"refreshJwt": "string",
"handle": "string",
"did": "string",
"didDoc": {},
"active": true,
"status": "takendown"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
Possible values: [InvalidRequest
, ExpiredToken
, InvalidToken
, AccountTakedown
]
message stringrequired
{
"error": "InvalidRequest",
"message": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error required
message stringrequired
{
"message": "string"
}
Loading...