# listContentTemplateFolders

List the organization's shared content-library folders (id, name, parentFolderId, displayOrder) with per-kind template counts and a file count. Counts are DIRECT (what is filed in that folder itself, not its subtree) so a parent's own counts do not include its children's.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "listContentTemplateFolders", "variables": {...} }`
- Scope: `READ`
- Type: query
- Idempotency: a read; rejects `Idempotency-Key`
- Rate-limited: no

## Variables

None.

## Response (data, an example)

```json
{
  "workflowAutomationsQuery": {
    "libraryFolders": [
      {
        "id": "<ID>",
        "name": "…",
        "parentFolderId": "<ID>",
        "templateCounts": {
          "email": 0,
          "sms": 0,
          "note": 0,
          "task": 0,
          "taskSet": 0
        },
        "fileCount": 0,
        "displayOrder": 0
      }
    ]
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "operationId": "listContentTemplateFolders",
    "variables": {}
  }'
```
