<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic List API - Retrieving the records in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/List-API-Retrieving-the-records/m-p/1165940#M82690</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to return records I can see in my defined list I set up in Hubspot. I have a list that contains ticket info and associated data but the List API seems to just bring the json at the bottom back.&amp;nbsp; Am I missing something?&amp;nbsp; I also tried the search list call and same result.&amp;nbsp; I'm expecting to see all records and columns I specified...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;POST:&amp;nbsp;crm/v3/lists/118&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"list":{"listId":"118","listVersion":1,"createdAt":"2025-06-17T12:36:06.935Z","updatedAt":"2025-06-17T12:36:06.935Z","filtersUpdatedAt":"2025-06-17T12:36:06.935Z","processingStatus":"COMPLETE","createdById":"xxx","updatedById":"xxx","processingType":"DYNAMIC","objectTypeId":"0-5","name":"Closed Tickets","size":1366,"listPermissions":{"teamsWithEditAccess":[],"usersWithEditAccess":[]},"membershipSettings":{"membershipTeamId":null,"includeUnassigned":null}}}&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jun 2025 20:59:45 GMT</pubDate>
    <dc:creator>NMetnik</dc:creator>
    <dc:date>2025-06-17T20:59:45Z</dc:date>
    <item>
      <title>List API - Retrieving the records</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/List-API-Retrieving-the-records/m-p/1165940#M82690</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to return records I can see in my defined list I set up in Hubspot. I have a list that contains ticket info and associated data but the List API seems to just bring the json at the bottom back.&amp;nbsp; Am I missing something?&amp;nbsp; I also tried the search list call and same result.&amp;nbsp; I'm expecting to see all records and columns I specified...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;POST:&amp;nbsp;crm/v3/lists/118&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"list":{"listId":"118","listVersion":1,"createdAt":"2025-06-17T12:36:06.935Z","updatedAt":"2025-06-17T12:36:06.935Z","filtersUpdatedAt":"2025-06-17T12:36:06.935Z","processingStatus":"COMPLETE","createdById":"xxx","updatedById":"xxx","processingType":"DYNAMIC","objectTypeId":"0-5","name":"Closed Tickets","size":1366,"listPermissions":{"teamsWithEditAccess":[],"usersWithEditAccess":[]},"membershipSettings":{"membershipTeamId":null,"includeUnassigned":null}}}&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 20:59:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/List-API-Retrieving-the-records/m-p/1165940#M82690</guid>
      <dc:creator>NMetnik</dc:creator>
      <dc:date>2025-06-17T20:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: List API - Retrieving the records</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/List-API-Retrieving-the-records/m-p/1166142#M82694</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/952846"&gt;@NMetnik&lt;/a&gt;&lt;/SPAN&gt;, I hope that you are well!&lt;BR /&gt;&lt;BR /&gt;Thanks for asking the HubSpot Community!&lt;BR /&gt;&lt;BR /&gt;Which associated data you'd like to get from the list, please? Are these the contacts that are associated with the tickets in the list?&lt;BR /&gt;&lt;BR /&gt;Here are some resources that might be of interest to you:&lt;BR /&gt;&lt;BR /&gt;- &lt;A href="https://developers.hubspot.com/docs/guides/api/crm/lists/overview#retrieve-lists" target="_blank"&gt;Retrieve lists API&lt;/A&gt;&lt;BR /&gt;- &lt;A href="https://developers.hubspot.com/docs/guides/api/crm/search" target="_blank"&gt;Search API&lt;/A&gt;&lt;BR /&gt;- &lt;A href="https://developers.hubspot.com/docs/guides/api/crm/objects/tickets" target="_blank"&gt;Tickets API&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, I'd love to ask our Top Experts: Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/601366"&gt;@sylvain_tirreau&lt;/a&gt;&lt;/SPAN&gt;, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/341938"&gt;@MBERARD&lt;/a&gt;&lt;/SPAN&gt; and &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811"&gt;@zach_threadint&lt;/a&gt;&lt;/SPAN&gt; do you have suggestions to help &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/952846"&gt;@NMetnik&lt;/a&gt;&lt;/SPAN&gt;, please?&lt;BR /&gt;&lt;BR /&gt;Have a fantastic day and thanks so much in advance!&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 10:23:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/List-API-Retrieving-the-records/m-p/1166142#M82694</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-06-18T10:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: List API - Retrieving the records</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/List-API-Retrieving-the-records/m-p/1166182#M82697</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;The list I built is all closed tickets with the subject, close date, and a few others. The associated records I'm looking for is the companyId and the ticket ownerId (assigned to id). &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 11:54:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/List-API-Retrieving-the-records/m-p/1166182#M82697</guid>
      <dc:creator>NMetnik</dc:creator>
      <dc:date>2025-06-18T11:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: List API - Retrieving the records</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/List-API-Retrieving-the-records/m-p/1166627#M82712</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/952846"&gt;@NMetnik&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have to do this in two stages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First you retrieve all the members of your list:&lt;/P&gt;&lt;P&gt;GET &lt;A href="https://api.hubapi.com/crm/v3/lists/118/memberships?limit=100`" target="_blank"&gt;https://api.hubapi.com/crm/v3/lists/118/memberships?limit=100&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You go through all the results pages and retrieve all the recordIds.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then you retrieve all the tickets in question with the recordId:&lt;/P&gt;&lt;P&gt;POST &lt;A href="https://api.hubapi.com/crm/v3/objects/tickets/batch/read" target="_blank"&gt;https://api.hubapi.com/crm/v3/objects/tickets/batch/read&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You send the recordId in the input and you indicate the properties you want to retrieve with something like this:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{
  "inputs": [
    { "id": "12345" },
    { "id": "67890" },
    ...
  ],
  "properties": [
    "subject",
    "closedate",
    "companyId",
    "hs_ticket_owner_id"
  ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 07:27:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/List-API-Retrieving-the-records/m-p/1166627#M82712</guid>
      <dc:creator>sylvain_tirreau</dc:creator>
      <dc:date>2025-06-19T07:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: List API - Retrieving the records</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/List-API-Retrieving-the-records/m-p/1166733#M82719</link>
      <description>Thank you but what about the associated properties for company id and the ticket owner id?&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Jun 2025 11:58:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/List-API-Retrieving-the-records/m-p/1166733#M82719</guid>
      <dc:creator>NMetnik</dc:creator>
      <dc:date>2025-06-19T11:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: List API - Retrieving the records</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/List-API-Retrieving-the-records/m-p/1166762#M82723</link>
      <description>&lt;P&gt;What exactly do you want to know? In my example, these properties are requested with the properties variable.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 12:58:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/List-API-Retrieving-the-records/m-p/1166762#M82723</guid>
      <dc:creator>sylvain_tirreau</dc:creator>
      <dc:date>2025-06-19T12:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: List API - Retrieving the records</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/List-API-Retrieving-the-records/m-p/1166886#M82739</link>
      <description>&lt;P&gt;Hi, sorry, I missed that. I just assumed it wouldn't bring over the associated ids like that. I'll give it a try.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;thanks again!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 18:28:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/List-API-Retrieving-the-records/m-p/1166886#M82739</guid>
      <dc:creator>NMetnik</dc:creator>
      <dc:date>2025-06-19T18:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: List API - Retrieving the records</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/List-API-Retrieving-the-records/m-p/1167251#M82755</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I tried what you marked as the accepted solution but when I make that call, the properties "companyId" and "hs_ticket_owner_id" where ignored/did not come back with all the other ticket data.&amp;nbsp; Therefore I had to un-mark this as a solution.&amp;nbsp; Not sure why it was upvoted if it doesn't work either but am I missing something?&amp;nbsp; I tried batch and then I decided to go back to just listing all the tickets for a sanity check:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;https://api.hubapi.com/crm/v3/objects/tickets?limit=10&amp;amp;archived=false&amp;amp;properties=subject,product_amount,product_used_name,createdate,lastmodifieddate,hs_ticket_category,hs_pipeline_stage,hs_ticket_priority,hours_to_complete_ticket,companyId,hs_ticket_owner_id&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again, the last two properties are not included.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for your help.&amp;nbsp; Please allow me to mark the solution when it works.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 17:31:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/List-API-Retrieving-the-records/m-p/1167251#M82755</guid>
      <dc:creator>NMetnik</dc:creator>
      <dc:date>2025-06-20T17:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: List API - Retrieving the records</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/List-API-Retrieving-the-records/m-p/1167264#M82757</link>
      <description>&lt;P&gt;Go to the ticket properties to see the IDs of the properties you want to retrieve, and use what's in your portal (Settings &amp;gt; Properties &amp;gt; Select object tickets). For me, it's "hubspot_owner_id," and I don't have a "companyId" property, but it depends on your configuration. You can create this field and populate it with a workflow.&lt;BR /&gt;Come back and tell us if you found the properties you want; if not, you may need to query the contact.&lt;BR /&gt;If you don't want to query the contact associated with the ticket again, it's best to create the missing properties that you can populate with a workflow (when a ticket is created, retrieve the contact's company ID and insert it into the companyId property). All CRMs have different properties, so it is recommended to always check the property IDs before making API requests, especially when the ID is given by someone who does not have access to your portal &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 18:06:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/List-API-Retrieving-the-records/m-p/1167264#M82757</guid>
      <dc:creator>sylvain_tirreau</dc:creator>
      <dc:date>2025-06-20T18:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: List API - Retrieving the records</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/List-API-Retrieving-the-records/m-p/1167274#M82758</link>
      <description>&lt;P&gt;I'll mark this as the answer because I didn't know you can define that and fill it in a workflow.&amp;nbsp; I'm new to hupspot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Further more I figure this out:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For anyone that stumble on this, I needed to add "&amp;amp;associations=company,contact" in the querystring and I can now see those ids, just not with the properties... They come back in their own JSON array.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 18:40:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/List-API-Retrieving-the-records/m-p/1167274#M82758</guid>
      <dc:creator>NMetnik</dc:creator>
      <dc:date>2025-06-20T18:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: List API - Retrieving the records</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/List-API-Retrieving-the-records/m-p/1168001#M82782</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/952846"&gt;@NMetnik&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Get the list membership API to retrieve the list tickets, this will provide you a list of all the tickets id inside that list, then you can use the ticket api to get the details/properties. I hope this will solve your problrm statement here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this will help you out. Please mark it as &lt;/SPAN&gt;&lt;STRONG&gt;Solution Accepted and upvote&lt;/STRONG&gt;&lt;SPAN&gt; to help another Community member.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 13:34:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/List-API-Retrieving-the-records/m-p/1168001#M82782</guid>
      <dc:creator>GRajput</dc:creator>
      <dc:date>2025-06-23T13:34:03Z</dc:date>
    </item>
  </channel>
</rss>

