Menu
Your backend (X-Api-Key)
Check contact code
POST
/v1/contact-verifications/{id}/checkChecks the code the user typed. status: verified · pending (wrong code, attempts left) · not_verified (attempts or time ran out; Resend gives the user a new code). An already verified record returns 409 verification.finished.
Authorization: X-Api-Key (your backend)
Request
curl -X POST https://api.idotta.com/v1/contact-verifications/{id}/check \
-H "X-Api-Key: idv_test_XXXX" \
-H "Content-Type: application/json" \
-d '{
"code": "123456"
}'JSON
// Request
{ "code": "123456" }
// Response 200: the same record as Start contact verification