SMS API from your own phone number.
The SMS8 SMS API sends a text with one HTTP request: POST a number and a message to https://app.sms8.io/api/v1/messages with your key in the X-Api-Key header. The message leaves from the SIM in your own Android phone, replies come back to your webhook, and you pay a flat monthly price with unlimited SMS and MMS.
Send SMS in your language
Copy-paste code to send, send to many, send MMS, read replies, verify webhooks and retry safely.
Python
requests for sending and reading, Flask for a signed webhook receiver.
02Node.js
The sms8-sdk npm package with typed methods, or plain fetch, plus an Express webhook.
03PHP
A small curl function, a Laravel example and a hash_hmac webhook check.
04C# and .NET
HttpClient with System.Text.Json and an ASP.NET Core webhook receiver.
05curl
One command per endpoint for testing, shell scripts, cron jobs and CI.
What does an SMS API call look like?
Every language does the same thing: a form post with your key in a header and two fields.
curl -X POST https://app.sms8.io/api/v1/messages \
-H "X-Api-Key: $SMS8_API_KEY" \
--data-urlencode "number=+14155550100" \
--data-urlencode "message=Your order #4412 has shipped."
The answer is JSON with a success flag, the queued message and its ID, or an error with a code and a message. From there the paired phone sends the text from its SIM and reports back.
What else the same endpoint does
- Send to many: comma-separated numbers in
number, or amessagesJSON list for a different text per person. - MMS:
type=mmsand public image links inattachments. - Pick the sender:
devicesfor a given phone,option=1to rotate across phones,option=2to rotate across every SIM. - Timing:
schedulewith a Unix timestamp, andprioritize=1to jump the queue. - Safe retries: an
idempotencyKeyso a retried request never sends twice.
Replies reach you through webhooks signed with an X-Signature HMAC-SHA256 header, or by polling /api/v1/messages/read. The trade-offs are in webhook vs polling for incoming SMS, and the full walkthrough is the SMS API guide for developers.
Start in three steps
From a new account to your first API call in a few minutes.
Create an account
Sign up for the 3-day trial with 30 messages. No card needed.
Pair a phone
Install the SMS8 app on an Android 7 or newer phone with a SIM and scan the pairing code from the dashboard.
Copy your key and send
Copy the key from the API page and run the example for your language.
Why choose SMS8 as your SMS API
An SMS API without a number to rent or a meter to watch.
Your own number
Texts leave from the SIM in your own Android phone, so customers see a number they know and can reply to it.
Flat price, unlimited messages
USD 29 a month for one phone, USD 89 for five and USD 229 for twenty, with unlimited SMS and MMS and no per-message fee. Yearly billing is half the price.
No A2P 10DLC filing
Texts go person-to-person from your SIM, so there is no brand or campaign registration to wait for.
SMS, MMS and iMessage in one inbox
Android phones send SMS and MMS, and a Mac with the SMS8 Gateway app adds iMessage, all in the same account.
API, SDK, MCP and integrations
REST API, the sms8-sdk npm package and CLI, an MCP server for AI agents, and apps for GoHighLevel, Zapier, Make, WordPress and Google Sheets.
Setup in minutes, with a trial
Pair a phone, copy a key and send. The 3-day trial includes 30 messages and needs no card.
Go deeper
The reference and the guides behind every example.
SMS8 API documentation
Every endpoint, field and webhook event in one place.
Open the docsSMS API guide for developers
Sending, receiving, signatures, retries and pacing, with code in four languages.
Read the guideWebhook vs polling
Which way to receive incoming SMS, and a clean polling loop when you need one.
Read the articlePricing
Flat monthly plans per connected phone, with unlimited SMS and MMS.
See pricingAn SMS API lets your code send and receive text messages with HTTP requests. With SMS8 you POST a number and a message to app.sms8.io, and the text is sent from the SIM in an Android phone you paired.
Any language that can make an HTTPS request. There are ready examples for Python, Node.js, PHP, C# and curl, an npm SDK for Node and TypeScript, and PHP and C# classes on the dashboard.
A flat monthly price per connected phone: USD 29 for 1, USD 89 for 5 and USD 229 for 20, with unlimited SMS and MMS and no per-message fee. Yearly billing is half the price.
There is no artificial limit on the API. Your SIMs set the pace: about one message every 10 to 30 seconds per SIM for bulk sends. Add phones to send more.
Yes. Register an HTTPS webhook to get each reply as signed JSON the moment it arrives, or read messages with POST /api/v1/messages/read.
Make your first API call
Create an account, pair a phone and copy your API key. 3-day trial with 30 messages, no card needed.