Try It!

Filter ID

If you are unsure where to find the Filter ID we've got you covered.

You can utilize our APIs to retrieve Filter Ids. Fetch Filter IDs by using the following API and passing your API key. Once obtained, you can retrieve the specific Filter ID you need.

Get Filter IDs

Here is the request curl.

curl --request GET \
     --url 'https://app-api.geposit.se/v2.0/filter/?api_key=<your_api_key>' \
     --header 'accept: application/json'

This is how the response looks like.

[
  {
    "id": "filter1",
    "user_id": "user1",
    "tenant_id": "tenant1",
    "name": "Name1",
    "filter": {
      "labels": [],
      "attributes": [
        {
          "key": "attr1",
          "value": "Att",
          "second_value": null,
          "operator": ""
        }
      ],
      "regions": [],
      "visible": null,
      "container_name": "",
      "layer_name": "",
      "point_name": "",
      "container_ids": [],
      "filter_by_polygons": false,
      "filter_by_containers": true,
      "attributes_for_container": ""
    },
    "type": "container",
    "created_at": "2023-09-11T12:22:00.799917Z",
    "updated_at": "2023-09-11T12:22:00.799898Z"
  }
]

Also, you can switch on the Show Object Idsand retrieve the Filter Id from the web application itself. Once you navigate to view all filters, you will obtain the Filter ID as follows.