<?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 How to export a tasks view filtered on queues, including associated contact's phone number in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-export-a-tasks-view-filtered-on-queues-including/m-p/1036842#M76405</link>
    <description>&lt;P&gt;I created (through the UI) a tasks view showing tasks that are in a queue and added the associated contact's phone number as colon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Threfore, I have a list af tasks belonging to a certain queue and their associated contact's phone number :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VroomlyTeam_0-1725532788065.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/126305i32C9D4CCBDB3CBFF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VroomlyTeam_0-1725532788065.png" alt="VroomlyTeam_0-1725532788065.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While I am able to export this view in the UI, I can not find a way to do so via the API.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I would like to export this view through API. I manage to create an export of all tasks but I don't manage to :&lt;/P&gt;&lt;P&gt;- filter theses tasks on queue&lt;BR /&gt;- add the assiciated contact's phone number as a colon on the export&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It thiis possible through the API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Thu, 05 Sep 2024 10:46:29 GMT</pubDate>
    <dc:creator>VroomlyTeam</dc:creator>
    <dc:date>2024-09-05T10:46:29Z</dc:date>
    <item>
      <title>How to export a tasks view filtered on queues, including associated contact's phone number</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-export-a-tasks-view-filtered-on-queues-including/m-p/1036842#M76405</link>
      <description>&lt;P&gt;I created (through the UI) a tasks view showing tasks that are in a queue and added the associated contact's phone number as colon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Threfore, I have a list af tasks belonging to a certain queue and their associated contact's phone number :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VroomlyTeam_0-1725532788065.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/126305i32C9D4CCBDB3CBFF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VroomlyTeam_0-1725532788065.png" alt="VroomlyTeam_0-1725532788065.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While I am able to export this view in the UI, I can not find a way to do so via the API.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I would like to export this view through API. I manage to create an export of all tasks but I don't manage to :&lt;/P&gt;&lt;P&gt;- filter theses tasks on queue&lt;BR /&gt;- add the assiciated contact's phone number as a colon on the export&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It thiis possible through the API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 10:46:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-export-a-tasks-view-filtered-on-queues-including/m-p/1036842#M76405</guid>
      <dc:creator>VroomlyTeam</dc:creator>
      <dc:date>2024-09-05T10:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to export a tasks view filtered on queues, including associated contact's phone number</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-export-a-tasks-view-filtered-on-queues-including/m-p/1036910#M76409</link>
      <description>&lt;P&gt;I managed to get what I needed by doing this :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Get the view of task filtered on queue, on associated contact's ID :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    "exportType": "VIEW",
    "format": "CSV",
    "exportName": "my_beautiful_export",
    "objectProperties": [
        "hs_unique_id",
        "hs_task_subject",
        "hubspot_owner_id",
        "hs_task_status"
    ],
    "language": "FR",
    "objectType": "TASKS",
    "associatedObjectType": "CONTACT",
    "publicCrmSearchRequest": {
        "filters": [
                {
                    "propertyName": "hs_task_status",
                    "operator": "EQ",
                    "value": "NOT_STARTED"
                },
                {
                    "propertyName": "hs_queue_membership_ids",
                    "operator": "EQ",
                    "value": "7691325"
                }
        ]
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;2. Get contact's phone number :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;https://api.hubapi.com/crm/v3/objects/contacts/{contact_id}?properties=phone&amp;amp;archived=false&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;3. Combined those in a pandas dataframe (Python)&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 13:00:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-export-a-tasks-view-filtered-on-queues-including/m-p/1036910#M76409</guid>
      <dc:creator>VroomlyTeam</dc:creator>
      <dc:date>2024-09-05T13:00:20Z</dc:date>
    </item>
  </channel>
</rss>

