Getting started
Verify phone numbers
Your customer texts a six-digit code to your number. When it arrives you know they hold that phone, whether it is on iMessage, and you have a conversation they started.
Why the code travels in, not out
A code texted out to somebody new is a first message from your line, and a line's first messages are what it has fewest of. A code texted in costs none of them. It proves the same thing a typed-back code does, that the person holds the phone, and it tells you more: the phone it came from, whether it came by iMessage, and that the person wants to hear back.
1. Ask for a code
From your server, with an API key. Every field is optional; pass phone when your form already has one, and only a text from that phone completes it.
curl -X POST https://api.missblue.dev/v1/projects/$PROJECT_ID/verifications \
-H "Authorization: Bearer $MISS_BLUE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"phone": "+15551230002", "reference": "user_123", "return_url": "https://example.com/welcome"}'{
"id": "5e0b7a3c-91d2-4f6e-8a47-2c1d9e6b0f38",
"status": "pending",
"code": "482913",
"sms_link": "sms:+12025550100?&body=482913",
"url": "https://missblue.dev/v/hT3k9QzV0bW2mY7cR1sLpA",
"expires_at": "2026-11-24T18:10:00Z"
}2. Show it
Send the person to url: the code, a QR code on a computer and an Open Messages button on a phone, which turns to “You're verified” when the text arrives and sends them to your return_url with ?verification=<id>. Or build your own page from code and sms_link.


3. Hear the answer
verification.completed fires on your webhooks with verified_phone, verified_service (imessage or sms) and your reference. Or poll GET /v1/projects/{id}/verifications/{verification_id} until status is verified. Your number answers the person with a short thank-you (reply_text, or "reply": false for none).
From the command line and AI agents
The same, with mb; and as the verify tools of mb mcp.
mb verify --phone +15551230002 --reference user_123
mb verification --id <id>
mb verifications
mb verify-cancel --id <id>What counts as the code
- A text that is the six digits and nothing else (or written
482 913). The prefilled text is exactly that. A sentence with a code in it is an ordinary message, so a customer's question always reaches you. - From the wrong phone, or after it expired, it verifies nothing, and your number replies that it did not work.
- A phone that sends six codes in an hour is not read for the rest of it. Codes are not handed out again on a line within a day of their last use.
- Verification texts start none of your automations and send your team no new-message email.
- On your dedicated iMessage numbers. Up to 1,000 codes an hour per project.
Try it first
In the console, Developers → Phone verification → Try it makes a real code and opens the page, so you can text it from your own phone before writing any code.
