Validate One Time Password

The Validate One Time Password (OTP) API is used to verify a 4–6 digit numeric one-time password that was sent to a contact through the Send One-Time Password API.

An OTP remains valid for 15 minutes after it is generated.

Path Parameters
dsidstringrequired
The unique DailyStory ID (dsid) for the contact whose OTP is being validated. The dsid is returned when the Send One Time Password API is used.
Query Parameters
otpstringrequired
The One Time Password (otp) send to the contact's mobile phone or email address.

The API will respond with an HTTP 200 code to indicate the OTP is valid. If the OTP is invalid, the API will respond with an HTTP 400.