Full REST API with WebSocket real-time events. OAuth 2.0 + Bot tokens. Rate limits designed for scale.
Send, edit, delete messages. Listen to events in real-time via WebSocket.
Manage workspace members, roles, permissions, and presence status.
Subscribe to 50+ event types. Incoming & outgoing webhooks.
Create interactive bots with slash commands, buttons, modals, and menus.
Create, archive, manage channels. Set permissions and topics.
Workspace settings, audit logs, compliance, and data export.
import { CollaborixBot } from '@collaborix/sdk';
const bot = new CollaborixBot({
token: process.env.BOT_TOKEN,
intents: ['messages', 'reactions', 'presence'],
});
// Slash command
bot.command('/hello', async (ctx) => {
await ctx.reply({
text: `👋 Hello, ${ctx.user.name}!`,
ephemeral: true,
});
});
// Message event
bot.on('message.created', async (event) => {
if (event.message.content.includes('help')) {
await event.channel.send({
text: 'How can I help you today?',
components: [
bot.button('Get Support', { style: 'primary', action: 'support' }),
bot.button('View Docs', { style: 'link', url: '/docs' }),
],
});
}
});
// Interactive button handler
bot.action('support', async (ctx) => {
await ctx.openModal({
title: 'Support Request',
fields: [
{ type: 'text', name: 'issue', label: 'Describe your issue' },
{ type: 'select', name: 'priority', label: 'Priority',
options: ['Low', 'Medium', 'High', 'Critical'] },
],
});
});
bot.start();
console.log('🤖 Bot is online!');Type-safe, well-documented libraries for every major language. Install in seconds.
Build it, test it, ship it. We handle distribution to millions of teams.
Create a developer account and register your application.
Use our SDKs and APIs to build your bot or app.
Test in a sandbox workspace with full API access.
Submit for review with screenshots and description.
Once approved, your app goes live in the Marketplace.