Manage Sections
Add and manage sections to group questions in your form.
Sections
Sections are optional groupings of questions within a form. Use them to divide long forms into logical pages or chapters.
GET
/api/v1/forms/{id}/sectionsRequired scope:read:forms
POST
/api/v1/forms/{id}/sectionsCreate a section
Required scope:write:forms
PUT
/api/v1/forms/{id}/sections/{sid}Rename or reorder a section
Required scope:write:forms
DELETE
/api/v1/forms/{id}/sections/{sid}Delete a section (questions remain, unassigned)
Required scope:write:forms
Create a section
Request Body
| Name | Type | Description |
|---|---|---|
| title | string | Section titlePersonal Information |
| order | integer | Position (0-indexed). Auto-appended if omitted. |
curl -X POST https://formalingo.com/api/v1/forms/FORM_ID/sections \
-H "Authorization: Bearer af_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{ "title": "Personal Information" }'Assign questions to a section
When creating a question, pass the section_id field:
{
"question_text": "What is your name?",
"type": "short_text",
"section_id": "SECTION_UUID"
}