sms-verification
/sms-verification
Get a phone number and the SMS verification code (OTP) for a service using asms.ai. Use when the user needs to receive a one-time SMS code on a number other than their own, for example to verify an account or test a sign-up flow.
- Author
- asms-ai ↗
- Repository
- agent-skills ↗
- Licence
- MIT
- Last repository change
- 29.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 6
No signals detected. Repository changed on 29.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Get a phone number and the SMS verification code (OTP) for a service using asms.ai. Use when the user needs to receive a one-time SMS code on a number other than their own, for example to verify an account or test a sign-up flow.
Original author description
Get a phone number and the SMS verification code (OTP) for a service using asms.ai. Use when the user needs to receive a one-time SMS code on a number other than their own, for example to verify an account or test a sign-up flow.
How it works
- Before you start
- Steps
- When no code arrives
- Need a number for longer?
SKILL.md preview
---
name: sms-verification
description: Get a phone number and the SMS verification code (OTP) for a service using asms.ai. Use when the user needs to receive a one-time SMS code on a number other than their own, for example to verify an account or test a sign-up flow.
---
# SMS verification codes with asms
asms.ai sells one-time phone numbers for receiving a verification code. The user pays from their asms wallet, only when a code arrives; an order with no code refunds itself within about 10 minutes.
## Before you start
- Prefer the asms MCP tools if they are connected (`get_pricing`, `create_otp_order`, `poll_sms`). Setup for each client: https://asms.ai/agents
- Otherwise use the REST API with the user's key from the `ASMS_API_KEY` environment variable. Never print the key, and never create an account, a key or a top-up for the user. If there is no key, ask the user to create one at https://asms.ai/dashboard and stop until they confirm.
## Steps
1. **Price and stock.** Ask which service (e.g. `telegram`, `whatsapp`, `google`) and country (e.g. `us`, `uk`) unless the user said.
- MCP: `get_pricing` with `{ "country": "us", "service": "telegram" }`
- REST: `GET https://asms.ai/api/v1/otp/services?country=us` with `Authorization: Bearer $ASMS_API_KEY`
2. **Confirm.** Tell the user the price and get an explicit yes before ordering. Ordering spends wallet money.
3. **Order.**
- MCP: `create_otp_order` with `{ "country": "us", "service": "telegram" }`
- REST: `POST https://asms.ai/api/v1/otp/order` with body `{"country":"us","service":"telegram"}`. The answer has `activationId` and `phoneNumber`.
4. **Give the user the number** and tell them to request the code on the service.
5. **Poll** every 3 to 5 seconds for up to about two minutes.
- MCP: `poll_sms` with `{ "orderId": "<activationId>" }`
- REST: `GET https://asms.ai/api/v1/otp/sms?id=<activationId>`; the code is in `sms.code` once it arrives.
6. **Report the code.**
## When no code arrives
- Don't cancel to retry. Order a fresh number (after confirming with the user again) and poll that one. The quiet order refunds itself, so the user only pays for codes that land.
- A stalled code usually means the service rejected that number, not a fault at asms. Trying another country or pool often works.
- More help: https://asms.ai/not-receiving-sms-code
## Need a number for longer?
For a number the user keeps and receives every SMS on (testing their own app, an account they'll verify again later), use the `rent-phone-number` skill.
Versions
The database has no other skills named sms-verification.
Database snapshot: 13.11.2026 · package version c99ffa9f0d21 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 4 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90rent-phone-number
Rent a phone number from asms.ai for a day to a year and read the SMS it receives. Use when the user needs a number of their own for longer than one code, such as testing their app's SMS login or giving a bot or app account its own number. - 95mcp-server-sv-number
Drive the SV Number MCP server (`sv-number-mcp`), nine stdio tools that order a private phone number for one signup, read the SMS verification code straight from the API, and hand the number back — covering 200+ countries. Use when an agent hits a signup form that needs a real… - 90receive-sms
Rent a dedicated phone number from Virtnumber and read the SMS it receives, through the Virtnumber MCP server or REST API. Use when the user or a task needs a phone number that receives SMS (a real SIM number in one of 13 countries, or a US or Swedish two-way number), wants to… - 100sms-verification-codes
Read SMS verification codes (2FA, OTP, one-time login codes) that are texted to the user's iPhone, using the Fwrd app and the fwrd-sms-mcp server. Use when a sign-in, sign-up or checkout the agent is doing asks for a code sent by text message, when the user wants their agent to… - 100phone-verification
Verify phone numbers using SMS one-time codes via the Didit API. Use when you need to confirm a user owns a phone number, implement SMS-based 2FA, or validate phone during signup/onboarding flows. - 95telnyx-verify-go
Look up phone number information (carrier, type, caller name) and verify users via SMS/voice OTP. Use for phone verification and data enrichment. This skill provides Go SDK examples.