> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.houseofapps.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.houseofapps.ai/_mcp/server.

# Filter Parameters

> How to pass filter parameters via query strings or a JSON request body

Many resources accept filters and other parameters which can be simply passed in the GET query string. However, for more advanced filtering, like combining several conditions or filtering by custom fields, some resources also provide a `POST .../list` endpoint that accepts the same parameters in a JSON-encoded request body.

For example, the following two requests are equivalent:

```bash
curl -X POST \
     -H 'licenseKey: yourlicensekey' \
     -H 'appSecret: yourappsecret' \
     -H 'content-type: application/json' \
     -d '{"mode": "list", "pipeline_id": "THE_PIPELINE_ID", "search": "acme"}' \
     https://api-dev.houseofapps.ai/v1/integrations/leads/list
```

```bash
curl -H 'licenseKey: yourlicensekey' \
     -H 'appSecret: yourappsecret' \
     'https://api-dev.houseofapps.ai/v1/integrations/leads?pipeline_id=THE_PIPELINE_ID&search=acme'
```

The `POST .../list` endpoints (leads, contacts, and companies) also accept `dropdown_filters`, a list of rules combined with `match` (`all` or `any`):

```json
{
  "mode": "list",
  "match": "all",
  "dropdown_filters": [
    {
      "field_id": "THE_CUSTOM_FIELD_ID",
      "operator": "eq",
      "values": ["Enterprise"]
    }
  ]
}
```

Use `GET /v1/integrations/filter-fields?entity_type=lead` to get the fields you can filter on for your organization.