---
title: "Deploy Textbelt SMS API"
description: "No-nonsense outbound SMS API"
category: "Other"
url: https://railway.com/deploy/ntXGdO
---

# Deploy Textbelt SMS API

No-nonsense outbound SMS API

**[Deploy Textbelt SMS API on Railway](https://railway.com/template/ntXGdO)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/ntXGdO/manifest.json

- **Creator:** Tim Connors's Projects
- **Category:** Other
- **Total deploys:** 10

## Template content

### textbelt

- **Source:** https://github.com/timconnorz/textbelt.git
- **Public domain:** Yes

## Documentation

This is a fork of the original TextBelt project by Ian Webster. I made two changes: 

1. Add basic auth to the server
2. Add support for environment variables for easier deployment
   
You shouldn't have to change anything in the code to get it to work. Just set the environment variables and run the server.

NOTE: You will need an SMTP server to send text messages. This project uses an email-to-text gateway to send text messages. 
I suggest using SMTP2GO: https://www.smtp2go.com/ 

The environment variables are:
- `SMTP_HOST` ex: smtp.gmail.com
- `SMTP_PASSWORD` ex: password123
- `SMTP_USERNAME` ex: admin
- `SMTP_PORT` ex: 587
- `BASIC_AUTH_USERNAME` ex: admin
- `BASIC_AUTH_PASSWORD` ex: password123
- `FROM_NAME` ex: TextBelt
- `FROM_EMAIL` ex: example@example.com

## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/ntXGdO
