Documentation

To get started with TextKit you will need a sandbox API key, which is free and issued the moment you create an account. Every endpoint works in the sandbox, webhooks included.

Quickstart

Send your first SMS in under five minutes.

Quickstarts by language

Send your first SMS from Node.js, Python, PHP, Ruby, Go, Java, .NET, Rust, Next.js, Django, Laravel, Rails and more, with a free test key.

Authentication

API keys, test vs live mode, and key rotation.

Sandbox & test numbers

How test mode works, including magic numbers.

CLI

Log in from the terminal, receive webhooks on localhost, and trigger sandbox events.

MCP server

Give any AI agent TextKit as tools: texts, numbers, contacts, broadcasts, automations.

Pricing

What TextKit costs, and what the free tier includes.

Migrate from Twilio Verify

Line-by-line mapping from Twilio Verify to TextKit Verify.

Messages

Send SMS, retrieve messages, and list history.

Verify

Phone and email verification (OTP) in two API calls.

Numbers

Search, buy, organize, and release phone numbers, one at a time or hundreds at once.

Customers

Attribute numbers, messages, verifications and usage to the businesses you send for.

Lookup

Carrier and line type for any number.

Webhooks

Signed event delivery to your endpoint, with automatic retries.

Deliverability

Delivery rates by day, carrier, and sending number, plus automatic degradation alerts.

Credits

Prepaid credits: buying them, what draws them down, and what happens when they run out.

Spend limits

A monthly cap on live messaging spend, with alerts as you approach it.

Usage

Account usage by month and for today, with your plan limits, over the API.

Audit log

Who changed keys, team, webhooks, spend limits, numbers, consent, and settings.

Errors

The error envelope and every error code.

Inbox & conversations

Threaded conversations, unread counts, and the shared team inbox.

Contacts

Contacts, CSV import, segments and subscription topics: in the console and the API.

Teams

Multiple users on one account: roles, email invitations, signatures.

Batches & broadcasts

One message to up to 10,000 people - from a CSV, the API, or tagged contacts - with per-recipient variables, pause, cancel and retry.

Scheduled messages

Send later: schedule 1:1 messages up to 30 days out.

Recurring schedules

Send the same message every day, week or month at a local time.

Automations

Send events from your app; TextKit sends, waits, and branches.

Abandoned cart texts

Text shoppers their cart link when they leave checkout. Works with Shopify Flow, Klaviyo, or your own code.

Auto-replies & office hours

Per-number automatic replies, optionally only outside business hours.

Opt-out, consent & TCPA

Revocation in plain English, the consent ledger, and what is blocked.

Compliance & registration

Website disclosure check, generated opt-in copy, 10DLC brand and campaign registration, and opt-in proof.

Compliance checks

Every check a send passes through, in order, what each one returns, quiet hours, and how blocked messages show in your log.

Security best practices

Protect your account, API keys, and users: key hygiene, phishing awareness, and how we handle your data.

Number porting

Bring an existing business number to TextKit.

Reference and guides

  • API reference: every endpoint on its own page, with parameters, responses and examples.
  • Use cases: complete builds for verification, reminders, notifications, alerts, support and broadcasts.
  • Migration guides with the console importer.

For agents and tooling