A free, open source API for outgoing texts.

Maintained by Ian Webster. Open source on github.

TextBelt is a REST API that sends outgoing SMS. It is available as a public service or as an internally self-hosted server.

Textbelt uses carrier-specific gateways to deliver your text messages for free, and without ads. The service is fairly reliable and has sent over 1 million texts.

Send a text with a simple POST request:

$ curl -X POST http://textbelt.com/text \
   -d number=5551234567 \
   -d "message=I sent this message for free with textbelt.com"

number and message parameters are required.

Success and Failure

Sample success:


Note that success means that the message was sent to Textbelt's list of providers. We can't guarantee delivery on your network.

Sample failure:

{"success":false,"message":"Exceeded quota for this phone number."}

Canadian and International endpoints

The /text endpoint supports U.S. phone numbers (and parts of Canada).

For Canadian texts, curl


For international texts, curl


Canadian and international support may not be complete. Please refer to the list of supported carriers.

Notes and Limitations


This project is maintained by Ian Webster and available on Github.

Mobile and Web Analytics