Skip to main content

Data Catalogs

API Error Codes

CodeDescription
14226Session creation request missing metadata object or fields are incomplete.
20000Country code is invalid or has unknown format.
20001Phone number is invalid or has unknown format.

Verification Method Types

CodeDescription
10Inverse OTP via SMS.
11Inverse OTP via WhatsApp.
20Traditional OTP via SMS.
21Traditional OTP via WhatsApp.
30Traditional OTP via Robocall.

Attempt Statuses

CodeDescription
0b00000000000000Waiting for verification.
0b10000000000000Verification successful.
0b01000000000001Destination mismatch. For Inverse OTP, means someone tried to tamper with the result.
0b01000000000010Origin mismatch. For Inverse OTP, user sent the message from a different number.
0b01000000000100Attempt status was invalided because the session closed.
0b01000000001000Attempt expired.
0b01000000010000Client was disabled due to pending payment or administrative reasons.
0b01000000100000Potential tampering due to mismatching verification methods.
0b01000001000000Too many Traditional OTP submissions.
0b01000010000000User exceeded their Traditional OTP quota for the current method.
0b01000100000000Attempt made invalid by user-triggered cancellation/request.
tip

As you can see, Veriph.One uses binary flags to determine the status of each attempt. These statuses can overlap, and you could have cases where verification is successful, but later, someone tried to tamper with it. The statuses can update over time due to this reason. We recommend masking the status result using an AND operation if you want to check for a specific status.

Verification Data Enrichment Flags

CodeDescription
0b000No enrichment.
0b001Enrich phone number metadata when verification is successful.
0b010Enrich IP address metadata including geolocalization and analysis. Only available to paid plans.
tip

These are binary flags and are meant to overlap, if you don't want any enrichment to happen, send a plain zero in this field. If you want all data, send a 3. You can also select individual enrichment payloads by, for example, sending 1 or 2 according to your needs.