View Categories

Chatlog

3 Docs

Get Request

Last Updated: December 3, 2024

The GET request allows you to fetch chat logs from the API Endpoint: GET https://crm.jaweb.me/api/chatlogs-get/ Request Headers Example Request GET https://crm.jaweb.me/api/chatlogs-get/Authorization:Token YOUR_API_KEY_HEREContent-Type: application/json Example Response [ { "user_session_id": "session_ww1223", "mail": "[email protected]", "company_username": "joedoe", "id": "1", "isActive": true, "name": "Joe Doe", "country": "UAE", "phone": "+12782132122", "date": "2024-10-09T10:00:00Z", "assigned": false, "status": "active", "unread": 2, "disable_chatbot": false, "user":...

Post Request

Last Updated: December 3, 2024

The POST request allows you to create a new chat log entry in the system. You must provide a JSON body containing details about the chat log. Endpoint: POST https://crm.jaweb.me/api/chatlog-create/ Request Headers Request Body Provide the chat log details in JSON format: { "name": "Joe Doe", "isActive": true, "user_session_id":"session_wwq", "company_username": "joedoe", "mail":"[email protected]", "country": "UAE", "phone":...

Put Request

Last Updated: October 15, 2024

This API endpoint is designed to update a user’s email in the chat log based on a provided session_id and subsequently trigger a Zapier webhook event. The webhook event contains details about the updated chat session and is sent to a registered Zapier URL if one exists. HTTP Method Endpoint Request Body Parameters The request...