DEV Community

Cover image for How to receive an SMS on a virtual number
REİGN
REİGN

Posted on Edited on AI-assisted

How to receive an SMS on a virtual number

A virtual number is a temporary phone number used to receive an SMS verification code. It does not replace the recovery phone, email, or authenticator already bound to an account.

What it is for

  • Signing up for a service that asks for an SMS code
  • Separating a one-time verification from your personal number, so your real number isn't tied to every app you try

What it is not for

  • Replacing an existing account-recovery method
  • Sending bulk SMS
  • Guaranteeing that every service will accept the number

Some services don't accept numbers from certain countries or certain number types. If a code never arrives, trying a different country for the same service is often the quickest fix.

How it works, step by step

  1. Pick the service you're verifying (WhatsApp, Telegram, Google…).
  2. Pick a country. Price and stock differ per country.
  3. Copy the number into the app's sign-up form. Double-check the country code: if the app already has a country selector, don't type it twice.
  4. Wait for the code. It appears in your dashboard; don't hammer "Resend", since many services throttle repeated requests.
  5. Enter the code and finish your verification.

If the code doesn't arrive

  • Re-check the number format and country code first; that's the most common cause.
  • Give it a minute or two; some services send codes with a delay.
  • On a single-use number you can usually cancel after a short waiting period and get a refund if no code was received. On PleaseSMS, cancellation opens 180 seconds after the number is assigned, and approved refunds go back to your balance.
  • Once a code has been received, the order is complete; it can't be refunded.

Keep it safe

A verification code is the key to an account. Never share it with anyone, including support staff. If you need long-term access to the same number (e.g. for later logins), use a rental number instead of a single-use one, because a single-use number can't receive codes again later.

For developers

If you're testing your own app's SMS sign-up flow end to end, virtual numbers can also be used via an API: request a number, trigger the SMS from your staging app, and poll the order until the code arrives.


Disclosure: I'm the founder of PleaseSMS, a virtual number service for SMS verification. The steps above apply to most providers.

Top comments (0)