Skip to content

Verify User

Validate an action (like account activation or email update) by providing the 6-digit OTP sent to the user’s email.

POST/user/v1/verify
Terminal window
curl -X POST https://api.juspredict.com/user/v1/verify \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"one_time_password": "123456",
"scope": 1
}'
FieldRequirement
one_time_passwordMust be a 6-digit numeric string.
scope1: Activation, 2: Password Reset, 3: Email Verification.
{
"status": {
"type": "SUCCESS",
"details": []
}
}
FieldTypeDescription
statusStatusOperation status.