Virtual Number API for SMS Verification

The same private virtual numbers over a REST API: buy a number, receive SMS codes, check your balance and get SMS pushed to a webhook.

Buy long-term virtual phone numbers and read the SMS and calls they receive, on your account balance. Every request takes a personal API key: Authorization: Bearer vpn_xxx. The key surface is /v1/public; a key also reaches the /v1/me account routes listed here. Money is integer USD cents. Purchases need an Idempotency-Key. Limits: at least 120 requests a minute per account and 30 purchases a minute; 429 carries Retry-After. v1 only grows: see /api-changelog.md.

Base URL and authentication

All endpoints are relative to https://api.sms-activate.app.

Authenticate with a bearer token: send Authorization: Bearer <your-api-key> on every request, catalog included.

Machine-readable: the OpenAPI document and the API skill for coding agents.

Endpoints (39)

GET /v1/public/countries

Countries with availability and the price range

GET /v1/public/numbers/search

Live numbers for sale in a country, with your price

  • country (query, string, required) - ISO-2, uppercase.
  • pattern (query, string, optional) - Digits the number should contain.
  • areaCode (query, string, optional)
  • inLocality (query, string, optional)
  • inRegion (query, string, optional)
  • inPostalCode (query, string, optional)
  • limit (query, integer, optional)
  • type (query, string, optional) - Only numbers of this type; any spelling is accepted. Absent: every type. Unknown: 400 validation_failed.
  • sms (query, string, optional) - By default only numbers that receive SMS are returned (since 2026-10-27). `any` (or `false`, `0`, `no`, `off`) returns voice-only numbers too.

GET, POST /v1/public/numbers

GET: Your numbers

  • includeInactive (query, integer, optional) - 1 includes released and expired numbers.

POST: Buy a number from the search, for 28 days

  • Idempotency-Key (header, string, required) - One key per purchase intent; resend the same key on a retry and the first answer comes back instead of a second charge. Without it: 400 validation_failed.

GET, PATCH, DELETE /v1/public/numbers/{id}

GET: One of your numbers

  • id (path, integer, required)

PATCH: Note, webhook, Telegram chat, auto-renew, notifications

  • id (path, integer, required)

DELETE: Release a number

  • id (path, integer, required)

GET /v1/public/numbers/{id}/sms

SMS received by one number

  • id (path, integer, required)
  • limit (query, integer, optional)
  • cursor (query, string, optional) - The opaque nextCursor of the previous page.

GET /v1/public/sms

SMS received by all your numbers

  • limit (query, integer, optional)
  • cursor (query, string, optional) - The opaque nextCursor of the previous page.

GET /v1/public/balance

Your balance in cents

GET /v1/me/numbers/{id}/calls

Calls received by a number, with the recording's text and the code read out in it

  • id (path, integer, required)

GET /v1/me/inbox

All SMS and calls, newest first

GET /v1/me/numbers/{id}/release-preview

What releasing a number returns

  • id (path, integer, required)

GET /v1/me/recoverable

Released numbers you can buy back

POST /v1/me/recoverable/{id}/recover

Buy back a released number

  • id (path, integer, required)

GET /v1/me/transactions

Your statement

GET /v1/me/movements

Balance movements

GET /v1/me/topup/options

Ways and amounts to top up

POST /v1/me/topup

Start a top-up

GET /v1/me/topup/{invoiceId}

A top-up's status

  • invoiceId (path, string, required)

GET, PUT /v1/me/notifications

GET: Notification settings

PUT: Change notification settings

GET, POST /v1/me/watches

GET: Your watches

POST: Watch for a number to come into stock

GET /v1/me/watches/quote

What a watch costs

PATCH, DELETE /v1/me/watches/{id}

PATCH: Pause, resume or change a watch

  • id (path, integer, required)

DELETE: Delete a watch

  • id (path, integer, required)

GET /v1/me/kyc

Identity verification status, and the numbers that still need it

GET /v1/me/transfers

Transfers you sent or received; `?state=all` for the history

POST /v1/me/webhook-secret

A new webhook signing secret, shown once

POST /v1/me/webhook-test

Send a test event to your webhook

GET /v1/me/webhook-deliveries

Recent webhook deliveries, without bodies

GET, POST /v1/me/number-orders

GET: Your orders for numbers that need verification

POST: Buy a number that needs verification, once the verification is approved (409 verification_first before)

DELETE /v1/me/number-orders/{id}

Cancel such an order

  • id (path, integer, required)

GET /v1/me/partner

Partner earnings, read only

GET /v1/me/partner/links

Partner links, read only

GET /v1/me/withdrawals

Your USDT withdrawals, read only

GET /v1/me/withdrawals/preview

What a withdrawal of an amount would cost

GET /v1/me/free-numbers

Free shared numbers

GET /v1/me/free-numbers/{id}/sms

SMS of a free shared number

  • id (path, integer, required)

GET, PATCH /v1/me

GET: Your profile: balance, discount, webhook

PATCH: Change the display name, language or account webhook

POST /v1/me/numbers

Buy a number (the account route; the same purchase as POST /v1/public/numbers)

PATCH /v1/me/numbers/{id}

A number's settings (the account route)

  • id (path, integer, required)

POST /v1/me/numbers/{phone}/reserve

Hold a number for you for up to 10 minutes before buying

  • phone (path, integer, required)

POST /v1/me/topup/{invoiceId}/recheck

Re-check a top-up's payment now; with `intent`, the purchase it pays for runs once paid

  • invoiceId (path, string, required)

Response objects

The API returns 8 object types: Error, UsagePricing, Country, SearchNumber, OwnedNumber, Sms, SmsFeed, Watch.