<?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 Re: How can I get the contacts of ticket using api, if I know ticket_id? in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-get-the-contacts-of-ticket-using-api-if-I-know-ticket/m-p/319300#M30653</link>
    <description>&lt;P&gt;Oh thank you! That's what I need.&lt;/P&gt;</description>
    <pubDate>Fri, 14 Feb 2020 12:51:57 GMT</pubDate>
    <dc:creator>olejekg</dc:creator>
    <dc:date>2020-02-14T12:51:57Z</dc:date>
    <item>
      <title>How can I get the contacts of ticket using api, if I know ticket_id?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-get-the-contacts-of-ticket-using-api-if-I-know-ticket/m-p/319057#M30611</link>
      <description>&lt;P&gt;At the page you can se contacts at right side&amp;nbsp;&lt;A href="https://app.hubspot.com/contacts/7124303/ticket/88498988/" target="_blank"&gt;https://app.hubspot.com/contacts/{{portal_id}}/ticket/{{ticket_id}}/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;How can I get the contacts of ticket using api, if I know ticket_id?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 16:44:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-get-the-contacts-of-ticket-using-api-if-I-know-ticket/m-p/319057#M30611</guid>
      <dc:creator>olejekg</dc:creator>
      <dc:date>2020-02-13T16:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the contacts of ticket using api, if I know ticket_id?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-get-the-contacts-of-ticket-using-api-if-I-know-ticket/m-p/319223#M30633</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/119762"&gt;@olejekg&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When looking to get the contact id and contact information associated to a ticket based on the ticket id, you can first use the&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/crm-associations/crm-associations-overview" target="_blank"&gt;CRM Associations API&lt;/A&gt;, specifically the -&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/crm-associations/get-associations" target="_blank"&gt;Get associations for a CRM object endpoint&lt;/A&gt;&amp;nbsp;to pull the IDs of contacts associated to a ticket. An example of the request url:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;https://api.hubspot.com/crm-associations/v1/associations/{{ticket id}}/HUBSPOT_DEFINED/16?hapikey={{your hapikey}}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you've the contact id, you can use this endpoint&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/contacts/get_contact" target="_blank"&gt;Get a contact by vid&lt;/A&gt;&amp;nbsp;to get the contact information.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps to shed some light! Let me know if you'd like further clarification on this.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 03:11:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-get-the-contacts-of-ticket-using-api-if-I-know-ticket/m-p/319223#M30633</guid>
      <dc:creator>WendyGoh</dc:creator>
      <dc:date>2020-02-14T03:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the contacts of ticket using api, if I know ticket_id?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-get-the-contacts-of-ticket-using-api-if-I-know-ticket/m-p/319300#M30653</link>
      <description>&lt;P&gt;Oh thank you! That's what I need.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 12:51:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-can-I-get-the-contacts-of-ticket-using-api-if-I-know-ticket/m-p/319300#M30653</guid>
      <dc:creator>olejekg</dc:creator>
      <dc:date>2020-02-14T12:51:57Z</dc:date>
    </item>
  </channel>
</rss>

