SMS API for Developers
curl-sms is an SMS API you call with one authenticated HTTP request: send the number and the text, get back an ID and a status. No SDK needed and never a bill after the fact.
Send your first SMS
curl -X POST https://curl-sms.com/api/sms/send \
-H "Authorization: Bearer cs_test_…" \
-H "Content-Type: application/json" \
-d '{"receiver":"+4915123456789","body":"Your order has shipped."}'
The API answers with 202 Accepted:
{ "id": "01JDQ8M3V6R1T5ZK2X9N4C7B0A", "status": "queued", "segments": 1, "encoding": "gsm7", "price": "0.00" }
With a test key (cs_test_…) every check runs as in production, but nothing is sent and nothing is charged. Switch to a live key when your integration works; the code stays the same.
What the API covers
- Send to one number or up to 100 at once, now or scheduled with
send_at. - Estimate parts, encoding and price before sending (
POST /api/sms/estimate). - Track every SMS:
queued,sent,deliveredorfailedwith an error code. Query it, poll for changes or get a webhook. - Retry safely with an
Idempotency-Keyheader: the same key never sends twice within 24 hours. - Cancel scheduled SMS; failed and canceled SMS are refunded automatically.
All endpoints are in the API reference, with an OpenAPI description at /api/openapi.json.
Pricing in short
The Free plan includes 5 SMS per month to German mobile numbers, the Paid plan 300. Everything beyond that is paid from prepaid balance, so there are no surprise bills. Details on the pricing page.
Pick your language
curl and HTTP · Python · PHP · Node.js · Go · Bash · PowerShell