cURL
curl --request POST \ --url https://backend.kart.ai/api/get_chat_response/ \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <x-api-key>' \ --data '{ "store_url": "<string>", "conversation_id": 123, "message": "<string>" }'
{ "conversation_id": 123, "message": "<string>", "products": [ {} ] }
Returns a chat response message and optionally a list of products based on the conversation history on a desired store. If no conversation_id is specified, it is treated as a new conversation and a new one will be created.
Successful response