Bots
Answer Bot Question
Changed onAnswer the question a bot is waiting on. A question takes free text or one of its options; an approval takes Go ahead or Not now; a permission check takes Allow once, Always allow or Don't allow.
post/bots/chats/{chat_id}/questions/{question_id}/answer
Request
- Base URLhttps://api.krea.ai
- AuthHTTP bearer
Path parameters
chat_id, string uuid required
question_id, string required
Request body
object required
answer, string
The answer in words. For a question with options, send one of them exactly.
answers, string[]
When the bot asked several questions at once: one answer each, in order.
Response
The answer was delivered.
object required
chat_id, string required
title, string required
message_id, integer nullable required
The message just sent. Null when a chat was opened without one.
cursor, string required
Pass to GET /bots/chats/{chat_id}/messages.
bots, object[] required
url, string required
Changes
- info
endpoint added
- info