Reset a password with an emailed code

posthttps://api.expiryedge.com/v1/verifyCodeAndUpdatePassword
Öffentlich - kein API-Schlüssel10/15 min
Anfrage
curl -X POST 'https://api.expiryedge.com/v1/verifyCodeAndUpdatePassword' \
  -H "Content-Type: application/json" \
  -d '{
  "email": "sam.lee@northwinddental.com",
  "code": "482915",
  "password": "correct-horse-battery-staple"
}'
Antwort
{
  "message": "Password updated successfully."
}

The code is single-use and invalidated after a limited number of wrong guesses. Unknown email, wrong, expired or locked code all return the same 400. Password must be 6-256 characters.

Body-Parameter

application/json
  • emailstringerforderlich
    format: email
  • codestringerforderlich
    pattern: ^[0-9]{6}$
  • passwordstringerforderlich
    min length: 6 · max length: 256

Rückgabe

200
Password updated.
  • messagestringerforderlich

Fehler

400
The request is missing required fields or contains invalid values.
405
The endpoint does not accept this HTTP method.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.
500
Unexpected server error. Retry later; quote requestId to support.