You can use the API to get the questions within a survey form, i.e. the Changes, Indicators, Outcomes, Text fields, Attachment fields, Sections, Time fields and Date fields within a Story Category.
API Documentation
URL: /story_categories/:id
Response: single record
note: story category must be viewable by the user
API call - example
GET localhost:3000/api/v2/story_categories/841
header:
{“X-User-Token”: b7c+D5o0joNRXMVNycN696yJZkuWshy4Zw66qWSJ--tT63Ev/FYFl00rCr--WomZk6tiLoXtapKgB/EtZA==,
“X-User-Token”: “souleditor@makerble.com“}
API response - example
{ "id": 841, "name": "Example Survey", "color": "#f16e20", "updated_at": "2022-05-24T09:33:38.022+01:00", "created_at": "2022-05-24T09:33:38.022+01:00", "is_stopped": false, "is_default": false, "description": "", "intro_message": "", "current_fields": [ { "id": 14397, "field_id": 177, "field_name": "Location", "field_class_name": "CustomField", "priority": 3, "is_mandatory": false, "display_info": "mouseover", "document_category_id": null }, { "id": 14403, "field_id": 577, "field_name": "aa test indicator", "field_class_name": "Indicator", "priority": 9, "is_mandatory": false, "display_info": "mouseover", "document_category_id": null, "outcome_id": 528, "indicator_type": "scale" } ], "scale_indicator_choices": [ { "id": 354, "indicator_id": 577, "choice": "single_choice", "choice_value": "" }, { "id": 355, "indicator_id": 578, "choice": "single_choice", "choice_value": "" } ] }