Hi-Send Docs

Validate OTP

https://core.hisend.hunnovate.com/api/v1/otp/validate?api_key={api_key}&reference={reference}&otp={otp}

Send and Validate OTPs Across SMS, Email, and WhatsApp with Ease


Query Params

reference string required

Reference returned from the send OTP endpoint

otp string required

One time password Sent to the customer

api_key string required

The api key from your dashboard

422 Error Response Example


{
    "message": "Invalid OTP",
}

200 Success Response Example


{
    "data": {
        "success": true,
        "customer_identifier": "example@hunnovate.com",
    },
    "message": "OTP verified successfully",
}