Submit an answer (per-turn)
POST /v1/sessions/{token}/answer
POST
/v1/sessions/{token}/answer
Records the patient’s answer to question N and triggers generation of question N+1. Used by the iterative Q&A hosted form.
Parameters
Path Parameters
token
required
string
Request Body required
object
question_index
required
integer
answer
required
string
Responses
200
Next question or done
object
question
string
What brings you to the obstetrics clinic today? question_type
string
choices
Array<string>
clinical_purpose
string
is_final_question
boolean
questions_remaining_estimate
integer
done
boolean