GET
Confirm the one-time passcode a user entered against the reference_id returned by Send OTP. Returns whether the code is correct and still within its expiry window.
/api/v1/messaging/otp/validateHeaders
Query parameters
Response
Returns anentity whose valid flag is true when the code matches and has not expired, and false otherwise.
Errors
Sandbox
The OTP is always1234 in sandbox — test with code=1234 and the reference_id from Send OTP against https://sandbox.dojah.io. See Sandbox & test data for every test value.