curl --request POST \
--url https://api.cleartalk.ai/profile/reset-password \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"email": "user@example.com",
"oldPassword": "OldPass123!",
"newPassword": "NewPass123!",
"confirmNewPassword": "NewPass123!"
}
'curl --request POST \
--url https://api.cleartalk.ai/profile/reset-password \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"email": "user@example.com",
"oldPassword": "OldPass123!",
"newPassword": "NewPass123!",
"confirmNewPassword": "NewPass123!"
}
'API Key for authentication
User email
"user@example.com"
Current password
"OldPass123!"
New password must contain at least 8 characters, one uppercase, one lowercase, one number and one special character
"NewPass123!"
Confirm new password
"NewPass123!"
Password reset successfully