Palbase Auth API · API
POST
/auth/recovery/approveSubmit a recovery approval
Submit a recovery approval token (sent to a trusted contact by email). When the threshold is reached the account becomes recoverable.
Called by your app, with the publishable key.
Request body
tokenstring · requiredcurl
curl -X POST "https://<your-ref>.palbase.studio/auth/recovery/approve" \
-H "apikey: $PALBASE_PUBLISHABLE_KEY" \
-H "content-type: application/json" \
-d '{"token":"string"}'Responses
200Approval accepted
400Validation failed or required field missing
404Resource does not exist or is not visible to the caller
409Conflict with current resource state (duplicate, race)
429Rate limit exceeded
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation ApproveRecovery of auth's contract.