v1
latestOpenAPI 3.1.02026-07-14330101.9 KBValidate Code - OTP Code
GLOBAL means system will randomize the channel to send or receive the message from or to the user. The Validate OTP Code endpoint allows you to verify OTPs generated by the "Request and Send OTP Code" endpoint. This endpoint checks the validity of the OTP, ensuring it hasn't expired and matches the one sent. The response will include the validation status and relevant data.
post/otp/code/validate (COPY)
Request body
Response
200
Example response
{
"success": true,
"message": "string",
"data": {
"id": "string",
"code": "string",
"contact_id": "string",
"is_validated": true,
"timestamp": "string"
}
}