# API POST - Get assosiated object

**URL:** <https://community.hubspot.com/t/api-post-get-assosiated-object/69560>\
**Category:** APIs & Integrations\
**Tags:** companies, contacts\
**Created:** [November 18, 2022, 12:26pm UTC](https://community.hubspot.com/t/api-post-get-assosiated-object/69560 "2022-11-18T12:26:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PZit](https://avatars.discourse-cdn.com/v4/letter/p/f08c70/32.png) [@PZit](https://community.hubspot.com/u/PZit)\
**Post date:** [November 18, 2022, 12:26pm UTC](https://community.hubspot.com/t/api-post-get-assosiated-object/69560/1 "2022-11-18T12:26:20Z")

</div>

Hello,

I am making POST call with this endpoint

[https://api.hubapi.com/crm/v3/objects/companies/search/](https://api.hubapi.com/crm/v3/objects/companies/search/)

In request body I specified filters and which properties I want. I would like to get also assosiated Contacts with the company. Any idead how to do it in one call?

I tried to add it to request body, but it doesnt work.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [November 21, 2022, 9:41pm UTC](https://community.hubspot.com/t/api-post-get-assosiated-object/69560/2 "2022-11-21T21:41:41Z")

</div>

Hi, @PZit 👋 Thanks for reaching out. Can you share an example request and response, please? This should include a filter group using the pseudo-property `associations.{objectType}`. You can find an example here as well — [Search through associations](https://developers.hubspot.com/docs/api/crm/search#search-through-associations).

I’ll let the community speak to workarounds. My instinct is this will likely be two calls, as I do not see an all-in-one option to accomplish both of your goals.

Thank you! — Jaycee

---

<div class="post-metadata">

**Author:** ![PZit](https://avatars.discourse-cdn.com/v4/letter/p/f08c70/32.png) [@PZit](https://community.hubspot.com/u/PZit)\
**Post date:** [November 22, 2022, 7:44am UTC](https://community.hubspot.com/t/api-post-get-assosiated-object/69560/3 "2022-11-22T07:44:20Z")

</div>

Hello,

basically in properties I want get list of assosiated contacts for company.

```lia-code-sample
curl https://api.hubapi.com/crm/v3/objects/company/search \
 --request POST \
 --header "Content-Type: application/json" \
 --data '{
 "properties": ["email", "state","associations.contact"]
 }'

```

But it doesnt return assosiations at all

Thanks
