A US phone number for SMS testing
If your app sends verification texts to US numbers, you need a US number to test with. QuickInbox includes one in every paid plan.
What you get
- A real US mobile-style number that receives SMS from any sender, including Twilio, Vonage, AWS SNS and others.
- Private to your account. Its texts aren't shown on any public page.
- Readable from code. Fetch the texts as JSON with your API key: sender, body and time.
- Readable by people. The SMS page in your workspace lists the texts, picks out the one-time code and gives you a copy button.
How to get it
- Choose any paid plan on the pricing page (from $9 a month).
- Open the SMS page in your workspace and press Claim your number.
- The number appears in the list and in
GET /api/business/sms/numbers.
Higher plans include more numbers. Extra numbers and bigger message packs are add-ons: message packs start at $5 a month and an extra number is $4 a month.
Read its texts
const res = await fetch(
'https://business.quickinbox.net/api/business/sms/numbers/3/messages',
{ headers: { 'X-API-Key': process.env.QI_KEY } },
);
const { messages } = await res.json();
const code = messages[0].body.match(/\b(\d{4,8})\b/)[1];Use the number's id from the numbers list in the URL. Full guides: Playwright, Cypress, Selenium.
Good to know
- Numbers are US numbers. If your app only accepts other countries, check your phone field allows +1 in test environments.
- Use the number only for test accounts.
- Some services block virtual numbers for their own signups. That doesn't affect testing your own app, which is what the number is for.
Related guides
- Why public "receive SMS online" sites break your tests (and what to use instead)
- How to test SMS 2FA login in CI with GitHub Actions
- SMS verification API for testing OTP codes
- Disposable phone numbers for testing: what to use and what to avoid
- SMS testing overview
Get a test number: every paid QuickInbox plan includes a real US phone number and a monthly SMS allowance, with plans from $9 a month. Extra packs start at $5 a month. See SMS testing and pricing.