Back to All

Document API

Hey all,

Document API contains a list of questions and their answers. Each question has the format { "value", "label", "type" }, and in the case of a multiple-choice question, the "value" detail is in the format { "multipleChoiceValue": [ { "selected": true/false }, "value": text ] }.

However, there is no way of being able to identify specific questions for querying at a later point.

Would it be possible to add a property to the questions, that would allow us to tag the question with a descriptor? Ideally we'd be able to tag each question with ExternalIds, but short of that, even being able to just manually write in a descriptor when designing the document template would suffice, or, if that's not possible, even simply auto-setting an incremental number to each question would probably work.

As it stands, we have to rely on the order of the questions from the API being in the same order as we had written them in, and that feels risky.