List folders
Folders and subfolders that hold your forms.
GET https://cotlet.dev/api/v1/formstack/folders
read
Returns every folder you can see with its ID, name and parent folder. A user with restricted permissions sees only the folders that hold forms in their permissions. Use the folder ID to filter list_forms or to move forms.
Parameters
No parameters.
Request
curl https://cotlet.dev/api/v1/formstack/folders \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("formstack", "list_folders") const result = await cotlet.call('formstack', 'list_folders'); cotlet call formstack list_folders Example response
{
"folders": [
{
"folder_id": "774120",
"name": "Events",
"parent_id": null
},
{
"folder_id": "774133",
"name": "Events 2027",
"parent_id": "774120"
}
]
}