Documentation
Everything you need to integrate SendSyntix into your application. From quick start guides to complete API reference.
Getting Started
Channels
API Reference
Introduction
SendSyntix is a unified messaging platform that synthesizes all your communication channels into a single, powerful API. Whether you need to send transactional emails, SMS notifications, push messages, or webhook events, SendSyntix provides a consistent interface to manage all your messaging needs.
Core Concepts
- Channels - Different messaging mediums (email, SMS, push, webhooks)
- Messages - Individual communications sent through channels
- Templates - Reusable message formats with dynamic content
- Events - Delivery status updates and engagement tracking
Quick Start
Follow these steps to send your first message with SendSyntix.
Install the SDK
npm install sendsyntixInitialize the client
import { SendSyntix } from 'sendsyntix'
const client = new SendSyntix({
apiKey: process.env.SENDSYNTIX_API_KEY
})Send your first message
await client.send({
channel: 'email',
to: 'user@example.com',
subject: 'Welcome to SendSyntix',
template: 'welcome',
data: {
name: 'John',
company: 'Acme Inc'
}
})API Reference
The SendSyntix API is organized around REST. Our API accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes.
Base URL
https://api.sendsyntix.com/v1/messagesSend a message through any channel/messages/:idRetrieve a specific message and its status/messagesList all messages with optional filters/templatesCreate a new message template/analytics/overviewGet delivery and engagement metricsAuthentication
Authenticate your API requests using API keys. Include your API key in the Authorization header of every request.
curl https://api.sendsyntix.com/v1/messages \
-H "Authorization: Bearer sk_live_your_api_key" \
-H "Content-Type: application/json"Security Best Practices
- Never expose your API keys in client-side code
- Use environment variables to store API keys
- Rotate your keys periodically
- Use separate keys for development and production