OTP Code - Validate Code
One Time Password - Global
Validate OTP - Code
Verify One-Time Passwords (OTPs) with comprehensive validation checks for secure authentication workflows and two-factor authentication systems.
POST
OTP Code - Validate Code
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.usThe 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
- Option 1
- ValidateOtpCodeResource
The response is of type object.