# Integration App - How to create a filter with dropdown selection?

**URL:** <https://community.fibery.io/t/integration-app-how-to-create-a-filter-with-dropdown-selection/3981>\
**Category:** API & Programming\
**Created:** [February 13, 2023, 3:47pm UTC](https://community.fibery.io/t/integration-app-how-to-create-a-filter-with-dropdown-selection/3981 "2023-02-13T15:47:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tpaktop](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/tpaktop/32/6394_2.png) [@tpaktop](https://community.fibery.io/u/tpaktop)\
**Post date:** [February 13, 2023, 3:47pm UTC](https://community.fibery.io/t/integration-app-how-to-create-a-filter-with-dropdown-selection/3981/1 "2023-02-13T15:47:58Z")

</div>

I can’t seem to find an example or documentation about it in the [api](https://api.fibery.io/apps.html#filter) docs.  
I was trying to guess which field to put into filter to make it see it as list of options without much luck.

```auto
{
        id: "workspace_id",
        title: "Workspace",
        type: "list",
// THIS IS NOT WORKING - I also tried values, value, list as names select box just stays disabled.
        options: (await fetchWorkspaces(key)).map((x: { name: string; }) => x.name),
        datalist: true,
      },

```

---

<div class="post-metadata">

**Author:** ![tpaktop](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/tpaktop/32/6394_2.png) [@tpaktop](https://community.fibery.io/u/tpaktop)\
**Post date:** [February 13, 2023, 4:01pm UTC](https://community.fibery.io/t/integration-app-how-to-create-a-filter-with-dropdown-selection/3981/3 "2023-02-13T16:01:53Z")

</div>

That is different api. I made clarification in the title now - I’m talking about integration api

---

<div class="post-metadata">

**Author:** ![Oleg](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/oleg/32/1887_2.png) [@Oleg](https://community.fibery.io/u/Oleg)\
**Post date:** [February 15, 2023, 12:22pm UTC](https://community.fibery.io/t/integration-app-how-to-create-a-filter-with-dropdown-selection/3981/4 "2023-02-15T12:22:28Z")

</div>

Hi, @tpaktop

As I understood it is about source settings list. You need to implement special end-point in your connector to provide options for your data list: ` /api/v1/synchronizer/datalist`. Information can be found [here](https://api.fibery.io/apps.html#post-api-v1-synchronizer-datalist).

Thanks,  
Oleg

---

<div class="post-metadata">

**Author:** ![tpaktop](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/tpaktop/32/6394_2.png) [@tpaktop](https://community.fibery.io/u/tpaktop)\
**Post date:** [February 15, 2023, 2:56pm UTC](https://community.fibery.io/t/integration-app-how-to-create-a-filter-with-dropdown-selection/3981/5 "2023-02-15T14:56:00Z")

</div>

Oh right. I didn’t notice that at all until like 30 min ago.  
Thanks, heaps!  
Maybe worth to mention it somewhere nearby filter type definition as a note that filters with type: `datalist` will use that API for quering extra.

What also threw me off a lot was that **UNTIL** i selected a type that I want to use in integration there was no query to get filter and it was just disabled. I guess it’s by design, it’s just not very clear from the interface to me.
