ChinqIT VerifyChinqIT Verify

Verify a one-time password

Checks the submitted 6-digit OTP for the given phone number or email. A correct OTP is consumed and the message is marked verified; the per-recipient failure counter is reset on success.

POST
/api/v2/check

Checks the submitted 6-digit OTP for the given phone number or email. A correct OTP is consumed and the message is marked verified; the per-recipient failure counter is reset on success.

Authorization

X-API-Key<token>

API key authenticating the request.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v2/check" \  -H "Content-Type: application/json" \  -d '{    "otp": "string",    "phoneNumber": "string"  }'
{  "success": true,  "message": "string",  "verified": true}