Request Password Reset
curl --request POST \
--url https://api.headlesscommerce.io/v1/auth/forgot-password \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com"
}
'{
"message": "If an account exists with that email, a reset link has been sent."
}Auth
Request Password Reset
Sends a password reset email to the dashboard user. Always returns a success message regardless of whether the email exists (prevents enumeration). The reset link expires in 1 hour.
POST
/
auth
/
forgot-password
Request Password Reset
curl --request POST \
--url https://api.headlesscommerce.io/v1/auth/forgot-password \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com"
}
'{
"message": "If an account exists with that email, a reset link has been sent."
}⌘I