That was actually my first approach, but when I tried calling the endpoint without a filter param the response was:
> {
  "success": false,
  "error": {
    "type": "missing_parameter",
    "message": "'filter' is missing. Check the API spec for more details."
  }
}