Powerful APIs and SDKs for every platform
Integrate Kalagh into your applications with our comprehensive REST API, gRPC, and ready-to-use SDKs for .NET Core, Python, and Node.js.
Whether you prefer REST APIs, gRPC, or ready-to-use SDKs, we have the perfect solution for your development needs.
HTTP-based API with JSON
Our REST API is built on OpenAPI 3.0 standards with comprehensive Swagger documentation. Perfect for web applications, mobile apps, and any HTTP-capable client.
High-performance binary protocol
Built on HTTP/2 with Protocol Buffers, our gRPC API offers superior performance for high-throughput applications and microservices architectures.
| Feature | REST API | gRPC |
|---|---|---|
| Protocol | HTTP/1.1, HTTP/2 | HTTP/2 |
| Data Format | JSON | Protocol Buffers |
| Performance | Good | Excellent |
| Streaming | Limited | Full Support |
| Browser Support | Yes | No |
Get started quickly with our official SDKs for the most popular programming languages and frameworks.
C# and .NET integration
Python 3.7+ support
JavaScript/TypeScript support
dotnet add package Kalagh.SDKpip install kalagh-sdknpm install @kalagh/sdkEverything you need to integrate with Kalagh, from quick start guides to advanced API references.
Try our APIs in your browser
Test our APIs directly in your browser with our interactive Swagger UI. No setup required - just enter your API key and start exploring.
Complete endpoint documentation
Detailed documentation for every endpoint, including request/response examples, error codes, and rate limiting information.
Send and receive messages across all channels
Manage customer contact information
Track performance and engagement metrics
Real-time event notifications
Get started quickly with these code examples for popular programming languages and frameworks.
C# integration example
// Install the SDK
dotnet add package Kalagh.SDK
// Configure the client
var client = new KalaghClient(new KalaghOptions
{
ApiKey = "your-api-key",
BaseUrl = "https://api.kalagh.chat"
});
// Send a message
var message = await client.Messages.SendAsync(new SendMessageRequest
{
Channel = "whatsapp",
To = "+1234567890",
Text = "Hello from Kalagh!",
Metadata = new Dictionary<string, object>
{
["source"] = "my-app"
}
});
Console.WriteLine($"Message sent: {message.Id}");Python integration example
# Install the SDK
pip install kalagh-sdk
# Configure the client
from kalagh import KalaghClient
client = KalaghClient(
api_key="your-api-key",
base_url="https://api.kalagh.chat"
)
# Send a message
message = await client.messages.send(
channel="whatsapp",
to="+1234567890",
text="Hello from Kalagh!",
metadata={"source": "my-app"}
)
print(f"Message sent: {message.id}")JavaScript/TypeScript example
// Install the SDK
npm install @kalagh/sdk
// Configure the client
const { KalaghClient } = require('@kalagh/sdk');
const client = new KalaghClient({
apiKey: 'your-api-key',
baseUrl: 'https://api.kalagh.chat'
});
// Send a message
const message = await client.messages.send({
channel: 'whatsapp',
to: '+1234567890',
text: 'Hello from Kalagh!',
metadata: { source: 'my-app' }
});
console.log(`Message sent: ${message.id}`);cURL example
// Send a message via REST API
curl -X POST https://api.kalagh.chat/v1/messages \
-H "Authorization: Bearer your-api-key" \
-H "Content-Type: application/json" \
-d '{
"channel": "whatsapp",
"to": "+1234567890",
"text": "Hello from Kalagh!",
"metadata": {
"source": "my-app"
}
}'
// Response
{
"id": "msg_123456789",
"status": "sent",
"timestamp": "2024-01-15T10:30:00Z"
}Everything you need to build amazing integrations with Kalagh.
Comprehensive guides, API references, and tutorials to help you get started quickly.
Read DocumentationGet help from our developer support team for integration questions and technical issues.
Contact SupportStay updated with the latest features, best practices, and integration guides.
Read BlogJoin thousands of developers who are already building amazing integrations with Kalagh.
Get up and running in minutes with our comprehensive SDKs and documentation.
Bank-level encryption and compliance built-in from day one.
Get help when you need it with our dedicated developer support team.