API

Quick Start

Get started sending messages in minutes.

1. Authentication

Add your API key to the request header:

X-API-Key: tb_live_your_key

2. Send a Message

curl -X POST https://api.texting.blue/v1/messages \
  -H "X-API-Key: tb_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "+15551234567",
    "from": "+14155550101",
    "content": "Hello from Texting Blue!"
  }'

3. Receive Messages via Webhook

Set up a webhook endpoint to receive inbound messages in real time. Go to the Integrations page to configure your webhooks.

POST https://yourapp.com/webhook Content-Type: application/json { "event": "message.received", "data": { "id": "msg_abc123", "from": "+15551234567", "to": "+14155550101", "content": "Hello!", "created_at": "2026-02-08T12:00:00Z" } }

Full Documentation

Explore the complete API reference with all endpoints, parameters, and examples.