Texts documentation
Texts is an HTTP API and a set of small SDKs for building, formatting and delivering text messages from your application, whether that is a one-off password reset or a nightly digest to forty thousand subscribers.
Getting started
Create a key, install an SDK and send your first message in about five minutes.
API reference
Every endpoint, parameter and response field, with request examples.
Formatting markup
Bold, links, lists and variables that render correctly on every channel.
Changelog
What changed in each release of the API and the official SDKs.
How it fits together
Most integrations use three objects:
- Messages are the unit of delivery. Each has a body, one recipient and a delivery status you can poll or receive by webhook.
- Templates are reusable bodies with
{{variables}}. Keeping copy in templates lets non-developers edit wording without a deploy. - Channels describe where a message goes: SMS, e-mail plain-text part, in-app inbox or a chat integration. Texts converts the same markup to whatever each channel supports.
Official SDKs
| Language | Package | Minimum runtime |
|---|---|---|
| JavaScript / TypeScript | @texts/sdk | Node 18 |
| Python | texts-sdk | Python 3.9 |
| Go | texts.tg/go | Go 1.21 |
| Ruby | texts | Ruby 3.1 |
Everything the SDKs do is a thin wrapper over the REST API, so any HTTP client works too.
Looking for the old
/v2 endpoints? They keep working until 30 June 2027. See the 3.0 release notes for the migration checklist.
Texts documentation is maintained alongside the API source. Found a mistake? Every page lists the last update date in the changelog.