Skip to main content

API Reference

438+ endpoints across 18 feature categories.

The Yabber API uses RESTful conventions with JSON request/response bodies and Bearer token authentication. All endpoints are available at https://api.yabber.lol/v1/

Authentication

All API requests require a Bearer token in the Authorization header. Admin tokens are obtained via POST /v1/admin/login. User tokens are issued via the SDK or admin API.

API Categories

Authentication

Register tenants, login, issue user tokens, manage MFA and SSO.

POST/v1/admin/registerPOST/v1/admin/loginPOST/v1/apps/:id/users/token

Conversations

Create and manage direct, group, and threaded conversations.

POST/v1/conversationsGET/v1/conversationsGET/v1/conversations/:id

Messages

Send, edit, delete messages. Fetch history with pagination. Threaded replies.

POST/v1/conversations/:id/messagesGET/v1/conversations/:id/messagesPUT/v1/messages/:idDELETE/v1/messages/:id

Reactions & Receipts

Add/remove emoji reactions, update read/delivered receipts, typing indicators.

POST/v1/messages/:id/reactionsPUT/v1/conversations/:id/receipt

Search

Full-text search across messages with filters for sender, date range, and conversation.

GET/v1/search

Voice & Video

Initiate, join, and manage calls. WebRTC via LiveKit. Screen sharing and recording.

POST/v1/callsPOST/v1/calls/:id/joinPOST/v1/calls/:id/end

AI Agents

Create AI providers, deploy agents with knowledge bases and custom system prompts.

POST/v1/ai/providersPOST/v1/ai/agentsPOST/v1/ai/agents/:id/knowledge

Moderation

Content filters, PII masking, sentiment analysis, XSS scanning, slow mode.

POST/v1/moderation/filtersGET/v1/moderation/sentimentPOST/v1/moderation/pii

Campaigns

Broadcast messages, automated sequences, A/B testing.

POST/v1/campaignsPOST/v1/sequencesGET/v1/ab-tests/:id/results

Webhooks & Bots

Register webhook endpoints, create bot framework tools, manage custom integrations.

POST/v1/webhooksPOST/v1/tools

Rate Limits

API requests are rate-limited per tenant. Basic plans allow 100 requests/second, Advanced plans allow 500 requests/second. Rate limit headers are included in every response.

SDKs

The TypeScript SDK wraps every endpoint with full type safety, automatic authentication, and WebSocket management. Install with npm install @yabber/sdk.

Need Help?

Check the documentation for guides and examples, or contact support.