Skip to main content
POST
/
auth
/
reset-password
Reset Password
curl --request POST \
  --url https://{deploymentHost}/auth/reset-password \
  --header 'Content-Type: application/json' \
  --data '{
  "token": "reset_token_abc123def456",
  "password": "NewSecurePass123!"
}'
{
"status": 200,
"message": "",
"data": {
"message": "Password has been reset successfully. You can now sign in with your new password."
},
"session": {
"signin_attempts": [],
"signins": [],
"signup_attempts": [],
"active_signin": null
},
"errors": []
}

Authorizations

__session
string
cookie
required

Session cookie authentication for production deployments. The session token is automatically set as an HTTP-only, secure cookie.

Body

application/json
token
string
required

Password reset token from email

password
string
required

New password (6-125 characters, must contain number and symbol)

Required string length: 6 - 125

Response

Password reset completed successfully

status
integer
required

HTTP status code

message
string
required

Response message (empty for success)

data
any
required

Response data (can be any type)

session
object
required
errors
object[]
required

Array of error objects (empty for success)