Skip to main content
POST
/
auth
/
reset-password
Reset Password
curl --request POST \
  --url https://api.headlesscommerce.io/v1/auth/reset-password \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "<string>",
  "password": "<string>"
}
'
{
  "message": "Password has been reset successfully."
}

Body

application/json
token
string
required

Reset token from the email link

password
string
required

New password

Minimum string length: 8

Response

Password reset successful

message
string
Example:

"Password has been reset successfully."