cURL
curl --request POST \ --url http://localhost:2222/v1/messaging/otp/verify \ --header 'Content-Type: application/json' \ --data ' { "sessionId": "<string>", "code": "<string>" } '
{ "success": true, "message": "<string>", "data": { "status": "VERIFIED", "message": "<string>", "httpStatus": "100 CONTINUE", "valid": true } }
Validates a provided OTP against a session ID. Returns whether the code is valid, expired, or incorrect.
4 - 10
OK
Show child attributes