Developer Documentation
Complete APIs, SDKs, and guides to build powerful communication experiences with Connecta.
Quick Start
Installation
Code Examples
Send a Message
const connecta = require('@connecta/sdk');
const client = new connecta.Client({
apiKey: process.env.CONNECTA_API_KEY
});
// Send a message
const msg = await client.messages.send({
channelId: 'ch_123',
content: 'Hello World!',
type: 'text'
}); Create a Channel
// Create a new channel
const channel = await client.channels.create({
name: 'engineering',
description: 'Engineering team',
type: 'private',
members: ['user_1', 'user_2']
});
console.log('Created:', channel.id); Listen for Events
// Subscribe to message events
client.on('message.created', (msg) => {
console.log('New message:', msg);
});
client.on('user.presence', (user) => {
console.log(user.name, 'is now', user.status);
}); Send Notification
// Send a notification
const notif = await client.notifications.send({
userId: 'user_123',
title: 'Order Shipped',
message: 'Your order is on the way',
channels: ['email', 'sms']
}); API Reference
Messages API
Send and manage messages across channels.
Send a new message
Retrieve a message
List messages in a channel
Channels API
Create and manage communication channels.
Create a new channel
Retrieve channel details
List all channels
Notifications API
Send notifications across multiple channels.
Send a notification
Get notification status
Resources & Tools
API Reference
Complete reference documentation for all API endpoints and methods.
Code Samples
Working code examples in JavaScript, Python, Go, and more.
SDKs
Official SDKs for all major programming languages and platforms.
Webhooks
Subscribe to real-time events from your Connecta account.
Postman Collection
Import our API collection into Postman for testing.
Change Log
Stay updated with the latest API updates and improvements.
Developer Support
Ready to Build?
Start building powerful communication experiences with Connecta APIs.
Get API Access