cURL
curl --request POST \ --url https://api.smartlyq.com/v1/chatbots/{id}/messages \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "message": "<string>", "conversation_id": "<string>" } '
{ "success": true, "data": "<unknown>", "usage": { "units": 123, "cost": "<string>", "balance_remaining": "<string>" }, "meta": { "request_id": "<string>", "timestamp": "2023-11-07T05:31:56Z" } }
API key from Developer dashboard (Bearer token).
Chatbot ID.
Chatbot reply
true
Show child attributes