Skip to content

Send a password recovery email

POST
/recover-password
curl --request POST \
--url https://api.proxyrequest.com/api/v1/recover-password \
--header 'Content-Type: application/json' \
--data '{ "email": "[email protected]", "token": "turnstile-response-token" }'

Validates the anti-bot token and sends account recovery instructions to the supplied email address.

  • None

Password recovery with enhanced security and comprehensive error handling.

object
email
required

Email address for password recovery

string format: email
>= 1 characters <= 255 characters
token
required

Cloudflare Turnstile security token

string
Examples
ExampleRecoverAccount

Recover account

{
"email": "[email protected]",
"token": "turnstile-response-token"
}

The operation completed successfully.

Media typeapplication/json
object
message
required
string
email
required
string format: email
Examples
ExampleRecoveryEmailSent

Recovery email sent

{
"message": "Password recovery instructions were sent.",
"email": "[email protected]"
}

The request is malformed or violates a business rule.

Media typeapplication/json

Validation and API error payload. Field names may be added dynamically; field errors are returned as arrays of human-readable messages.

object
detail
string
non_field_errors
Array<string>
translation

Stable translation key suitable for client localisation.

string
key
additional properties
One of:
string
Examples
ExampleValidationError

Validation error

{
"non_field_errors": [
"The request could not be processed."
],
"translation": "errors.request.invalid"
}