API Gửi tin nhắn
API này cho phép bạn gửi tin nhắn văn bản (và tùy chọn kèm theo tệp đính kèm) đến KamiMind để nhận phản hồi từ Trợ lý AI đã được tạo.
POST https://api.dev.kamimind.ai/public/v1/response🧾 Cú pháp curl mẫu
curl mẫucurl --location 'https://api.dev.kamimind.ai/public/v1/response' \
--header 'accept: application/json' \
--header 'Authorization: Bearer ***********************' \
--form 'story_id=""' \
--form 'bot_token="b4732227-583f-4982-85d4-e4f731d1b64b"' \
--form 'streaming="false"' \
--form 'message="Xin chào"' \
--form 'files=@"/home/Downloads/file_example.png"'🔐 Thông tin xác thực
📤 Tham số gửi đi (Form Data)
Tên trường
Bắt buộc
Kiểu dữ liệu
Mô tả
📥 Phản hồi mẫu (Response)
Trường
Mô tả
🔁 Cách duy trì hội thoại (story_id)
story_id)Last updated