Build integrations faster using our official Software Development Kits (SDKs).
Overview
SDKs simplify API integration by providing pre-built methods, authentication helpers, and error handling utilities.
Available SDKs
JavaScript SDK
PHP SDK
Python SDK
Node.js SDK
Laravel SDK
.NET SDK
Installation
JavaScript
PHP
composer require chatbot/sdk
composer require chatbot/sdk
composer require chatbot/sdk
Python
Initializing the SDK
JavaScript Example
import ChatbotSDK from "chatbot-sdk";const client = new ChatbotSDK({ apiKey: "YOUR_API_KEY"});import ChatbotSDK from "chatbot-sdk";const client = new ChatbotSDK({ apiKey: "YOUR_API_KEY"});import ChatbotSDK from "chatbot-sdk";const client = new ChatbotSDK({ apiKey: "YOUR_API_KEY"});Sending a Message
await client.messages.send({ recipient: "+1234567890", message: "Hello World"});await client.messages.send({ recipient: "+1234567890", message: "Hello World"});await client.messages.send({ recipient: "+1234567890", message: "Hello World"});Creating a Contact
await client.contacts.create({ name: "John Doe", phone: "+1234567890"});await client.contacts.create({ name: "John Doe", phone: "+1234567890"});await client.contacts.create({ name: "John Doe", phone: "+1234567890"});Webhook Utilities
SDKs include tools for:
Signature validation
Event parsing
Retry handling
Payload verification
Error Handling
try { await client.messages.send(data);} catch (error) { console.error(error.message);}try { await client.messages.send(data);} catch (error) { console.error(error.message);}try { await client.messages.send(data);} catch (error) { console.error(error.message);}Versioning
We recommend always using the latest stable SDK release to access new features, security improvements, and performance optimizations.
Additional Resources
API Reference
Webhook Guide
SDK Changelog
Integration Examples
Developer Community