SDKs & Tools
TypeScript SDK
Official TypeScript/JavaScript SDK for Samva API
The official TypeScript SDK provides a type-safe, modern interface for integrating with Samva's Agent Communication Platform.
Installation
npm install @samva/apiQuick Start
import { SamvaClient } from '@samva/sdk';
const client = new SamvaClient({
apiKey: process.env.SAMVA_API_KEY,
});
// Send a message
const message = await client.messages.send({
channel: 'sms',
to: '+919876543210',
content: {
template_id: 'your_dlt_template',
variables: { otp: '123456' }
}
});Documentation In Progress
This SDK documentation will be completed once the implementation is ready.
Features
- = Type-safe API client
- =� Auto-generated from OpenAPI spec
- � Async/await support
- = Automatic retries
- =� Full TypeScript support