Build with Samva's
powerful APIs
Unified API for Email, SMS, and WhatsApp. Send messages, manage templates, and track conversations with just a few lines of code.
Quick Start
Get started with Samva in seconds
import { createORPCClient } from '@samva/api/router';
const samva = createORPCClient({
apiKey: process.env.SAMVA_API_KEY
});
// Send via any channel
const message = await samva.messages.send({
to: '+1234567890',
channel: 'sms', // or 'email', 'whatsapp'
content: { text: 'Your OTP is 839201' }
});
console.log(message.id, message.status);Official SDKs
Native libraries for your favorite programming language
PHP
Version Coming Soon
composer require samva/samva-phpRuby
Version Coming Soon
gem install samvaJava
Version Coming Soon
Maven/GradleDeveloper Resources
Everything you need to build amazing communication experiences
API Reference
Complete API documentation with examples for every endpoint
Quickstart Guide
Get up and running with Samva in under 5 minutes
Webhooks
Real-time delivery status and inbound message handling
Channels Guide
Guide to Email, SMS, and WhatsApp messaging features
Examples
Sample applications and common use cases
Built for Developers
Modern APIs with everything you need for production
RESTful Design
Clean, predictable URLs with standard HTTP methods
Idempotent Requests
Safe retries with idempotency keys for critical operations
Pagination & Filtering
Efficient data retrieval with cursor-based pagination
Real-time Webhooks
Instant notifications for message status and events
Comprehensive Errors
Detailed error messages with actionable solutions
OpenAPI Spec
Auto-generated clients and interactive documentation
Ready to start building?
Get your API key and send your first message in minutes