Parameters
verify_id
number
RequiredDescription
Verification session ID returned by the password recovery endpoint.
code
number
RequiredDescription
6-digit OTP verification code sent to the user's email or mobile.
password
string
RequiredDescription
New password for the user account. Minimum 6 characters in length.
POST/v1/users/password/set
bash
curl https://api.tradly.app/v1/users/password/set \
-H "Authorization: Bearer YOUR_PUBLISHABLE_OR_SECRET_KEY" \
-H "Content-Type: application/json" \
-X POST \
-d '{
"verify_id": 1,
"code": 123456,
"password": "NewSecurePassword123!"
}'RESPONSE
json
{
"status": true,
"data": {}
}