Check Verification
Check a verification code against a pending verification.
Possible results:
ok— code is correct, phone number verifiedincorrect— wrong code, try again (up to 3 attempts)exhausted— too many failed attempts, send a new codeexpired— verification expired (10 min), send a new codealready_verified— this verification was already completed
Billing. An ok or already_verified result costs a $0.05
verification fee. Other results are free.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
X-Sub-Account-Id
Request
This endpoint expects an object.
verification_id
Verification ID returned from /v1/verify/send
code
6-digit verification code
Response
Successful Response
result
One of ok, incorrect, exhausted, expired, or already_verified.
attempts_remaining
Checks left before the verification is exhausted. 0 once it reaches a final state.
Errors
422
Unprocessable Entity Error

