--- title: "Send Reset Password Code" description: "Send a password reset code to the user's email address." api: "POST /api/v1/auth/password/send-reset-code" --- ## Request The publishable client key for authentication. The project ID. The email address of the account to send the reset code to. ## Response Whether the reset code was sent successfully. ```bash cURL curl -X POST 'https://api.stack-auth.com/api/v1/auth/password/send-reset-code' \ -H 'Content-Type: application/json' \ -H 'x-stack-publishable-client-key: YOUR_PUBLISHABLE_CLIENT_KEY' \ -H 'x-stack-project-id: YOUR_PROJECT_ID' \ -d '{ "email": "user@example.com" }' ``` ```json 200 Response { "success": true } ```