palbaseDocs

Palbase Auth API · API

POST/auth/recovery/contacts/{id}/verify

Verify a trusted recovery contact

Verify a trusted contact using the token emailed to them. Marks the contact as verified so they may approve recoveries.

Called by your app, with the publishable key.

Path

idstring · requiredContact ID (`tc_…`)

Request body

tokenstring · required
curl
curl -X POST "https://<your-ref>.palbase.studio/auth/recovery/contacts/<id>/verify" \
  -H "apikey: $PALBASE_PUBLISHABLE_KEY" \
  -H "content-type: application/json" \
  -d '{"token":"string"}'

Responses

200Contact verified

400Validation failed or required field missing

404Resource does not exist or is not visible to the caller

429Rate limit exceeded

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation VerifyRecoveryContact of auth's contract.