# custom object search

**URL:** <https://community.hubspot.com/t/custom-object-search/37191>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [May 12, 2021, 1:16pm UTC](https://community.hubspot.com/t/custom-object-search/37191 "2021-05-12T13:16:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pankaj](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pankaj/32/84489_2.png) [@pankaj](https://community.hubspot.com/u/pankaj)\
**Post date:** [May 12, 2021, 1:16pm UTC](https://community.hubspot.com/t/custom-object-search/37191/1 "2021-05-12T13:16:15Z")

</div>

Hi All ,

We create one custom object and associate it with company and contact.

Now we want to get the list of all the records created by a specific contact or specific company.

I am trying with API **[https://api.hubapi.com/crm/v3/objects/p99688696\_car/181308portalId=99688696&properties=year&properties=make&properties=model](https://api.hubapi.com/crm/v3/objects/p99688696_car/181308portalId=99688696&properties=year&properties=make&properties=model)**

given in document. but how may i add contact and company name filter with this API ?

Please guide

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [May 12, 2021, 5:55pm UTC](https://community.hubspot.com/t/custom-object-search/37191/2 "2021-05-12T17:55:44Z")

</div>

Hi @pankaj

Adding @lynton here. I am not 100% clear on the question and I am hoping he understands better than I 😅 . Also, that url you have there appears malformed.

---

<div class="post-metadata">

**Author:** ![lynton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lynton/32/31184_2.png) [@lynton](https://community.hubspot.com/u/lynton)\
**Post date:** [May 12, 2021, 6:00pm UTC](https://community.hubspot.com/t/custom-object-search/37191/3 "2021-05-12T18:00:55Z")

</div>

If you want to find custom object records that are associated with a company or contact, use the GET Associations API: [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/crm/associations)

This will not allow you to filter on any other search parameters (like when the record was created), but it will let you query all custom object records associated with a specific company or contact. Hope this helps!
