Test Users
You can test 1-Click Verify with mock data in Sandbox, using either a random device IP and/or your own phone number, or our dedicated test users below.
All test users are keyed on device IP and/or phone number input data. In other words, device IP and/or phone number are the unique inputs that distinguish one test user from another.
Please do all development work and testing against our Sandbox environment, which returns mock data. You can use our Production environment when you're ready to go live.
The test user phone numbers and email addresses are not valid, so sending messages to them won't work. To simulate SMS verification, for example, use the test user (static) verification codes. To test real SMS verification, use your own (real) phone number.
How to Use Test Users
Demo
- Go to the Demo.
- Select Mock Data (sandbox) and click Start Demo.
- Enter the test user's phone number (varies by user).
- Enter the test user's (static) verification code (always 111111).
You can use a custom demo by generating one or opening one with your brand's settings from within the Dashboard.
SDK
- Complete the SDK Integration guide and run the SDK.
- Enter the test user's phone number (varies by user).
- Enter the test user's (static) verification code (always 111111).
API
- Access the Dashboard and go the Brand Details page for your brand.
- Copy a Sandbox API key for your brand.
- Call 1-Click Verify endpoints with the test user's device IP and/or phone number (varies by user).
Device IPs and Phone Numbers
1-Click Signup Test Users
You can use any of the 1-Click Signup test users with 1-Click Verify. Each of these is identified by a unique phone number, which you can resolve to with a corresponding, unique device IP. For example:
- Device IP
::121:2555:0010resolves to phone number +12125550010. - Device IP
::165:6555:0000resolves to phone number +16565550000. - Device IP
::140:4555:1300resolves to phone number +14045551300. - ...
Any device IP that doesn't resolve to a specific 1-Click Signup test user phone number (or match one of the error code ones below) will resolve to our primary test user phone number, +12125550010.
1-Click Verify only accepts device IPs in IPv6 format. An IPv6 address is a 128-bit number written as 8 groups of 4 hexadecimal digits separated by colons, for example:
0000:0000:0000:0000:0000:0121:2555:0010
However, there are 2 shortening rules to write these addresses in a more compact form:
- Remove leading zeros: Remove extra zeros at the start of any group. For example,
0121becomes121. - Replace consecutive groups of zeros: Replace consecutive groups of all zeros with a double colon, once per address. For example,
0000:0000:0000:0000:0000becomes::.
So, the address above becomes:
::121:2555:0010
We resolve this to phone number +12125550010.
Error Codes
There are 2 device IPs that resolve to Verified error codes for 1-Click Verify:
Verification Codes
We won't send SMS to the test user phone numbers, since they aren't real phone numbers. However, unless otherwise noted, you can use the static verification code 111111 to verify any test user number.