Validate 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
- Base URLhttps://api.crunchz.app/api
- AuthOAuth 2Client credentialsToken URLhttps://example.com/oauth2/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
200
Example response
{
"success": true,
"message": "string",
"data": {
"id": "string",
"code": "string",
"contact_id": "string",
"is_validated": true,
"timestamp": "string"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.