List available filters

GET
/filters

Lists the audience filters an opportunity's filters can use, with each one's slug, type and supported operators. The catalog is the same for every organization and is not paginated. A filter with an options_url takes values from a fixed list: read them from GET /filters/{filter_slug}/options and send their ids. integer--age takes a $gte / $lte range within min and max, and the two reference-- filters take opportunity ids.

Authorization<token>

API key as Bearer token: Authorization: Bearer

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://terac.com/api/external/v2/filters"
{
  "data": [
    {
      "slug": "string",
      "name": "string",
      "type": "string",
      "category": "string",
      "operators": [
        "string"
      ],
      "min": 0,
      "max": 0,
      "options_url": "string"
    }
  ]
}

{
  "error": {
    "code": "UNAUTHORIZED",
    "message": "API key required. Include Authorization: Bearer <key> header."
  }
}

{
  "error": {
    "code": "FORBIDDEN",
    "message": "This account is not permitted to use the API."
  }
}

{
  "error": {
    "code": "RATE_LIMITED",
    "message": "Rate limit exceeded. Retry after 61 seconds."
  }
}
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}