Settings

Get Recovery State

GET
/api/settings/recovery

Authorization

sessionCookie
cookiebetter-auth.session_token<token>

The Better Auth email/password session cookie used by the web application.

Response Body

Response for status 200

application/json
  1. response
held*boolean
hold*null|
Example Request
curl -X GET 'https://postbot.example/api/settings/recovery'
Example Response
{
  "held": true,
  "hold": null
}

Was this page helpful?