Settings

Resume After Restore

POST
/api/settings/recovery/resume

Authorization

sessionCookie
cookiebetter-auth.session_token<token>

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

Request Body

  1. body
token*string
Length1 <= length
confirm*boolean

Response Body

Response for status 200

application/json
  1. response
held*boolean
hold*null|
Example Request
curl -X POST 'https://postbot.example/api/settings/recovery/resume' \
  -H 'Content-Type: application/json' \
  -d '{
  "token": "string",
  "confirm": true
}'
Example Response
{
  "held": true,
  "hold": null
}

Was this page helpful?