Overview
This endpoint verifies OTPs generated by the “Request and Send OTP Code” endpoint. It allows you to validate whether the OTP code provided by a user matches the one that was sent.Request Parameters
The contact ID that received the OTP code. Format:
xxx@c.us
The OTP code to validate. Example: “123456”
Response
Indicates whether the request was successful.
A message describing the result of the operation.
Error Codes
Authorization Exception - Occurs when the request is not properly authorized.
Validation Exception - Occurs when the request parameters fail validation.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
The response is of type object
.