Link Search Menu Expand Document

API structure

livedigital Chat API consists of three separate interfaces, each used by separate clients for different purposes:

  • Customers API is used to manage applications.
  • M2M API is used to manage users and channels within application and also applications when needed.
  • Chat API is used by client app to implement general chat functioning: joining and leaving channels, sending and receiving messages, participating in polls. Chat API is build on top of two separate transports: HTTP and Centrifuge. HTTP REST API is used mostly for client to server requests (fetch archive, send message, etc.). Socket API is used to notify online clients about real-time events (message received, user joined channel, etc.).

API structure