New: Voice AI in Hindi, Tamil, Telugu, Bengali, Marathi + EnglishBook a Demo →
Pricing
💻 API & Developers

Build with SwanDigitals

RESTful APIs, SDKs, and comprehensive documentation. Like IBM's Developer Hub, but designed for modern developers who value simplicity and speed.

DPDP 2023 Aware
Data Hosted in India
Live in 7 Days

Quick Start in 5 Minutes

Terminal
# Install SDK
pip install SwanDigitals-sdk

# Initialize and send message
from SwanDigitals import SwanDigitalsClient

client = SwanDigitalsClient(api_key="your_api_key")

response = client.chat(
    bot_id="your_bot_id",
    message="Hello, I need help with my order",
    user_id="user_123"
)

print(response.message)  # AI response
print(response.intent)   # Detected intent
print(response.sentiment) # Sentiment score

Official SDKs

🐍

Python

pip install SwanDigitals-sdkView Docs →
💚

Node.js

npm install @swandigitals/sdkView Docs →

Java

maven: com.swandigitals:sdkView Docs →
🔵

Go

go get github.com/SwanDigitals/go-sdkView Docs →

Core API Endpoints

MethodEndpointDescription
POST/v1/conversationsStart a new conversation
POST/v1/messagesSend a message to chatbot
GET/v1/conversations/{id}Get conversation history
POST/v1/intentsCreate custom intent
GET/v1/analyticsFetch analytics data
POST/v1/webhooksConfigure webhooks

Developer-First Features

Low Latency

<100ms p99 response time with global edge locations

Secure by Default

OAuth 2.0, API key rotation, rate limiting built-in

Webhooks

Real-time events for intents, handoffs, and analytics

CLI Tool

Manage bots, deploy, and debug from command line

OpenAPI Spec

Auto-generate clients in any language

Rich Docs

Interactive examples, guides, and tutorials

Start Building Today

Get your free API key and build your first chatbot in minutes