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
curl https://cotlet.dev/api/v1/formstack/folders \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("formstack", "list_folders")
Node.js
const result = await cotlet.call('formstack', 'list_folders');
CLI
cotlet call formstack list_folders

Example response

JSON

{
  "folders": [
    {
      "folder_id": "774120",
      "name": "Events",
      "parent_id": null
    },
    {
      "folder_id": "774133",
      "name": "Events 2027",
      "parent_id": "774120"
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.