Skip to main content

Query get Account from Contact Detail

  • March 12, 2025
  • 1 reply
  • 8 views

Hi ,

I want to ask is there any query we can use to get Account from Contact ID

for example
I use below query to get contact from phone

{
“query”: “{items_page_by_column_values (limit: 50, board_id: 1984233816, columns: [{column_id: "contact_phone", column_values: ["14153739914"]}]) { cursor items { id name } } }”
}

then i can get contact id

{
“data”: {
“items_page_by_column_values”: {
“cursor”: null,
“items”: [
{
“id”: “1984234139”,
“name”: “Steven Scott”
}
]
}
},
“account_id”: 28494386
}

How can I get Account information from this Contact ?

1 reply

Forum|alt.badge.img
  • monday.com Team Member
  • March 17, 2025

hey @fransiska

Bill here from monday.com 👋

This “contact” is connected to it’s account through a connect boards column.

Since you have the contact’s ID already, you can use that ID to query for the linked items and one of those linked items will be the account.

Then you can use that ID to query for the account items details.

I hope that makes sense.

Cheers,
Bill