TL;DR
How to integrate SkyLight Chat within your systems to serve as a unified gateway for messaging APIs, webhooks, and automated AI agents.
The Power of a Unified Messaging Gateway
Managing separate integrations for WhatsApp Business, Instagram Graph API, Telegram Bots, and LinkedIn is a development nightmare. SkyLight acts as a robust multi-channel API bridge, allowing you to send messages, manage contacts, and listen to events across all these platforms from a single endpoint, using a single consistent structure.
1. Unified Messaging Endpoint
Send messages across WhatsApp, Instagram, Telegram, and LinkedIn using our single `POST /api/v1/messages` endpoint. Simply specify the recipient and the target `channel` (e.g., 'whatsapp', 'linkedin'). SkyLight handles the format translation, media hosting, and delivery tracking under the hood.
2. Real-Time Webhooks & Contact Sync
Register a single webhook URL to capture all events. Listen to events like 'message.received', 'message.sent', 'contact.created', 'contact.updated', and 'campaign.status' formatted in a clean, consistent JSON envelope. This makes keeping external systems, CRMs, or ERP databases in perfect sync a breeze.
3. Shared Knowledge Bases & Consistent AI Answers
Use our `/knowledge-base` endpoints to upload product catalogs, PDFs, or scrape websites. Once grounded, your AI agents reference this trusted data to answer customer inquiries automatically across every connected channel. Your AI will never give contradictory answers on different platforms.
4. Advanced Webhook Security & Verification
All webhooks are signed using a secure secret token. Verify the `X-SkyLight-Signature` header on incoming requests to guarantee the payload was sent securely by SkyLight and hasn't been tampered with in transit.
