---
updatedAt: 2026-06-16T01:42:18.000Z
agentTools:
  projectIndex: https://docs.pelcro.com/llms.txt
---

# Reset password

Reset a customer password using the emailed token.

## Overview

Reset a customer’s password using the token from the reset email. Public — no authentication required.

**Example:** The customer opens the reset link and submits a new password along with the `token` it carries.

> 🚧 Errors return 404
> Validation failures and an invalid or already-used token both return `404` (not 422/400). An expired or used token returns `404` `This token has either expired or has already been used, please try again.`

***

## Conditional Requirements

| Condition               | Required Fields                                                  |
| ----------------------- | ---------------------------------------------------------------- |
| Always                  | `site_id`, `email`, `token`, `password`, `password_confirmation` |
| `password_confirmation` | must match `password`                                            |

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Open API",
    "version": "1.88"
  },
  "servers": [
    {
      "url": "https://www.pelcro.com/api/v1/sdk/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "query",
        "name": "site_id"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/password/reset": {
      "post": {
        "summary": "Reset password",
        "description": "Reset a customer password using the emailed token.",
        "operationId": "api-open-reset-password",
        "parameters": [
          {
            "name": "site_id",
            "in": "query",
            "description": "The unique identifier of the site associated with your account.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email",
                  "password",
                  "password_confirmation",
                  "token"
                ],
                "properties": {
                  "email": {
                    "type": "string",
                    "description": "The email of the customer."
                  },
                  "password": {
                    "type": "string",
                    "description": "The new password."
                  },
                  "password_confirmation": {
                    "type": "string",
                    "description": "The new password (confirmed)."
                  },
                  "token": {
                    "type": "string",
                    "description": "The unique one-time use token."
                  },
                  "referer": {
                    "type": "string",
                    "description": "Optional parameter which can be used to hold the source from which the login has been requested."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success.",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": {
                      "message": "Your password has been reset!",
                      "error": false,
                      "data": {}
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "Your password has been reset!"
                    },
                    "error": {
                      "type": "boolean",
                      "example": false
                    },
                    "data": {
                      "type": "array"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Invalid request.",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": {
                      "error": {
                        "report_id": null,
                        "status": 404,
                        "message": "This token has either expired or has already been used, please try again."
                      }
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "report_id": {},
                        "status": {
                          "type": "integer",
                          "example": 404
                        },
                        "message": {
                          "type": "string",
                          "example": "This token has either expired or has already been used, please try again."
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```

# Sibling pages

* [Forgot password](https://docs.pelcro.com/reference/api-open-forgot-password.md)
* [Update password](https://docs.pelcro.com/reference/api-open-update-password.md)