# \[Hubspot API\] How do you use IN filter operator?

**URL:** <https://community.hubspot.com/t/hubspot-api-how-do-you-use-in-filter-operator/45613>\
**Category:** APIs & Integrations\
**Tags:** python\
**Created:** [October 20, 2021, 9:09am UTC](https://community.hubspot.com/t/hubspot-api-how-do-you-use-in-filter-operator/45613 "2021-10-20T09:09:40Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![mooney](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@mooney](https://community.hubspot.com/u/mooney)\
**Post date:** [February 15, 2022, 12:17am UTC](https://community.hubspot.com/t/hubspot-api-how-do-you-use-in-filter-operator/45613/7 "2022-02-15T00:17:58Z")

</div>

HI @Teun

Will you confirm you sucessfully got your second search option from you reply using the IN operator working outside of Postman? HubSpot api returns: “…problem: operator IN requires values.” when using the following filter & operator:

{ “propertyName”: “dealstage”, “operator”: “IN”, “values”: [8464307, 8464306] }

We are able to get it working in Postman and would like to know if their is a bug with the following node package:

@hubspot/api-client v6.0.1

api call:

const apiResponse = await hubspotClient.crm.deals.searchApi.doSearch(publicObjectSearchRequest);

---

_[View the full topic](https://community.hubspot.com/t/hubspot-api-how-do-you-use-in-filter-operator/45613)._
