# listFilterFolders

Saved-filter folders of one `type` (PROPERTY, CONTACT, DEAL), empty ones included: the org's shared ones plus your private ones. A filter's `folderId` is one of these; file filters with updateFilter `folderId`.

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

## Variables

- `type`: `FilterType!` (required, one of `PROPERTY`, `CONTACT`, `PIPELINE_ITEM`, `DEAL`, `OWNER`, `POST`, `ENTITY`, `PERSON`, `USER`, `ORGANIZATION`)

## Response (data, an example)

```json
{
  "filterQuery": {
    "getFilterFolders": {
      "folders": [
        {
          "id": "<ID>",
          "name": "…",
          "isPrivate": true,
          "parentId": "<ID>",
          "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": "listFilterFolders",
    "variables": {
      "type": "PROPERTY"
    }
  }'
```
