Layerbeat

Request password recovery

POST
/v1/auth/recovery/request

Sends a password reset link if the email belongs to an account.

Access: Public. No authentication required.

Request Body

application/json
  1. body
email*string
Lengthlength <= 254
cf-turnstile-response?TurnstileToken

Fresh, single-use Turnstile proof. Required when the security check is enabled, valid for at most five minutes, with the handler's expected action and approved frontend hostname. Never persist or reuse it.

Length1 <= length <= 2048

Response Body

Request accepted without disclosing account status.

application/json
  1. response
message*string
curl -X POST 'https://layerbeat.com/v1/auth/recovery/request' \  -H 'Content-Type: application/json' \  -d '{  "email": "you@example.com"}'
{  "message": "If a link is needed, it will arrive by email shortly."}