The chat.smarterbot.ai API enables you to create a new chat session by sending a POST request to the /chat/Chatbot/GetSession endpoint. Request URL: https://chat.smarterbot.ai/chat/Chatbot/GetSession Method: POST The API request must include the following headers: The request body should contain the following parameters: JavaScript (Fetch API) Python (Requests Library) cURL HTTP Request The API response will be a JSON object with the following structure: If...
The chat.smarterbot.ai API enables you to generate an AI response based on the user’s question by sending a POST request to the /chat/Chat/ClientAsk endpoint. Endpoint Request URL: https://chat.smarterbot.ai/chat/Chat/ClientAsk Method: POST Request Headers The API request must include the following headers: Request Body The request body should contain the following parameters: Example Request JavaScript (Fetch API) Python (Requests Library) cURL HTTP Request Response The...