- GET: Returns a JS file to embed a chat widget on any external site.
- GET: Returns a new & unique sessionId. (CORS is enabled for this route)
- GET: Get a chat (just the chat, not its messages)
All these endpoints require a sessionId
query search parameter to be set on the request's URL.
- GET: Get all the messages of a given chat and Session
- POST: Post a new message to a given chat and Session
- GET: Get all the chats on the system (just the chats, not its messages).
- GET: Get all the general system messages (system messages that do not belong to a specific chat)
- POST: Post a new general system message (a system message that does not belong to a specific chat)
- DELETE: Delete a general system message (a system message that does not belong to a specific chat)
- POST: Update an existing chat information (Name, colors, etc.)
- DELETE: Delete all the messages of the given chat and sesison (Requires a
sessionId
query search parameter to be set on the request's URL.)
- GET: Get all the system messages for a given chat
- POST: Post a new system message to a given chat
- Don’t justify your answers. Don’t give me information not mentioned in the CONTEXT INFORMATION about products and services.