Parameters

verify_id
number
Required
Description
Verification session ID returned by the password recovery endpoint.
code
number
Required
Description
6-digit OTP verification code sent to the user's email or mobile.
password
string
Required
Description
New password for the user account. Minimum 6 characters in length.
POST/v1/users/password/set
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
{
  "status": true,
  "data": {}
}