Read the questions
While the agent waits, the message’sstatus is needs_input, and userInput holds its questions, each with suggested options. reply holds anything the agent wrote before asking, and can be empty. Abbreviated response:
session.message.needs_input.
Send your answers
Answer each question under itsid, with an option’s id or label or in your own words. Send the answers to the message that asked:
running again. Keep reading it as before: the agent carries on with your answers, and its reply arrives in the same message.
To let the agent carry on without answering, send { "answer": { "outcome": "skipped" } }.
Only the person who sent the message can answer, and only once. A second answer returns 409 with the code user_input_not_requested.