SMS API Service

A powerful, scalable API for sending SMS messages and managing communications

Send SMS
Send SMS messages programmatically with a simple API call
RESTful API
Clean, well-documented REST API that's easy to integrate
Secure
API key authentication and comprehensive logging for security
Fast & Reliable
Built on Next.js and Supabase for optimal performance
Available Endpoints
All endpoints are available under /api/v1

POST /api/v1/sms/send

Send an SMS message

GET /api/v1/sms/messages

Retrieve SMS message history

GET /api/v1/sms/dids

Get available phone numbers

GET /api/v1/stats

Get SMS statistics

GET /api/v1/health

Health check endpoint

Quick Start
Get started with the SMS API in minutes

1. Generate Your API Key

Use the admin panel to generate a new API key:

Go to API Key Management

2. Set Environment Variables

Add the SMS_API_KEY to your Vercel project:

SMS_API_KEY=eiLNR4JGjMmMq3No9g7e8pIvLrgcodTS8nlnqdw9slL07qlRU29ppaayzlLbEV1p

3. Make Your First Request

curl -X POST https://your-domain.com/api/v1/sms/send \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"from": "+12267693223", "to": "+12262465634", "text": "Hello!"}'