Reference / Auth

Complete a password reset: consume the code, set the new password, and open a fresh session.

POST /v1/auth/password-reset/verify
End-user session operationId: reset_password

Authorization

Called from the browser with the publishable application id (x-application-id); the access token lives in memory.

Request body · required

  • captcha_token string

    Bot-protection (CAPTCHA) response token, when the application requires one (Phase 7).

  • code string required
  • password string required
  • verification_id string<uuid> required uuid

Responses

200 Password reset; signed in
{
  "data": {
    "tokens": {
      "aal": 0,
      "access_token": "string",
      "expires_in": 0,
      "refresh_token": "string",
      "session_id": "018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f",
      "token_type": "string"
    },
    "user": {
      "created_at": "2026-01-15T09:30:00Z",
      "email_verified": false,
      "id": "018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f",
      "primary_email": "string",
      "profile": {},
      "status": "string"
    }
  },
  "error": {
    "code": "string",
    "message": "string"
  },
  "meta": {
    "timestamp": "string"
  },
  "success": false
}
422 Invalid or expired reset code

Request

curl -X POST "http://localhost:8080/v1/auth/password-reset/verify" \
  -H "Content-Type: application/json" \
  -d '{
  "captcha_token": "string",
  "code": "string",
  "password": "string",
  "verification_id": "018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f"
}'

Try it

live request
POST http://localhost:8080/v1/auth/password-reset/verify

Request body

application/json