[Developer] CgChat API Integration Guide
CgChat API Integration Guide
CgChat provides multiple integration methods to easily add chat functionality to your existing services.
Integration Methods
1. iframe Embedding
The simplest integration method. Add a chat window to any webpage with a single line of HTML code.
2. REST API
Control chat room creation, user management, message sending, and more via API.
3. Webhook
Receive real-time notifications for events such as new messages and user join/leave.
4. URL Parameter Method
Configure chat rooms and pass user information through URL parameters.
Secure Integration
- API key issuance and management
- Separate API keys by service type
- Domain-based access restrictions
- AES-256-CBC encrypted communication
API documentation is available in the admin dashboard after subscribing to a service.