<?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 to create a ticket with &amp;quot;hs_pipeline&amp;quot; property other than &amp;quot;0&amp;quot; using the in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-create-a-ticket-with-quot-hs-pipeline-quot-property-other/m-p/328397#M31758</link>
    <description>&lt;P&gt;Hello &lt;SPAN&gt;WendyGoh,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to get the hs_pipeline and hs_pipeline_stage correct values you need to call to the following API:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hubspot.com/" target="_blank"&gt;https://api.hubapi.com/crm-objects/v1/objects/tickets/&amp;lt;number&amp;gt;?hapikey=&amp;lt;value&amp;gt;&amp;amp;properties=subject&amp;amp;properties=content&amp;amp;properties=created_by&amp;amp;properties=hs_pipeline&amp;amp;properties=hs_pipeline_stage&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After setting the correct values (that are returned from this API) I could create a ticket with a different pipeline.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is resolved.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Mar 2020 12:39:04 GMT</pubDate>
    <dc:creator>yorambaron</dc:creator>
    <dc:date>2020-03-30T12:39:04Z</dc:date>
    <item>
      <title>How to create a ticket with "hs_pipeline" property other than "0" using the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-create-a-ticket-with-quot-hs-pipeline-quot-property-other/m-p/328302#M31741</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/tickets/create-ticket" target="_self"&gt;create ticket&lt;/A&gt; using the HubSpot API to a pipeline other than "0" (which is the default one).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;How do you get the IDs of all the pipelines? I tried to use the &lt;A href="https://developers.hubspot.com/docs/methods/pipelines/pipelines_overview" target="_self"&gt;crm-pipelines&lt;/A&gt; API but it didn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yoram&lt;/P&gt;</description>
      <pubDate>Sun, 29 Mar 2020 15:03:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-create-a-ticket-with-quot-hs-pipeline-quot-property-other/m-p/328302#M31741</guid>
      <dc:creator>yorambaron</dc:creator>
      <dc:date>2020-03-29T15:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a ticket with "hs_pipeline" property other than "0" using the</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-create-a-ticket-with-quot-hs-pipeline-quot-property-other/m-p/328331#M31751</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/98108"&gt;@yorambaron&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you looking to retrieve all the tickets pipeline by using this endpoint -&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/pipelines/get_pipelines_for_object_type" target="_blank"&gt;Get all pipelines for a specified object type&lt;/A&gt; for portal&amp;nbsp;6052xxx?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, I'm able to see that the endpoint return 6 ticket pipeline when I send a GET request to&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;https://api.hubspot.com/crm-pipelines/v1/pipelines/tickets
&lt;/PRE&gt;
&lt;P&gt;In this case, do you mind sharing with me the request body that you received upon sending the GET request? Are you getting any errors in particular?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 04:05:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-create-a-ticket-with-quot-hs-pipeline-quot-property-other/m-p/328331#M31751</guid>
      <dc:creator>WendyGoh</dc:creator>
      <dc:date>2020-03-30T04:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a ticket with "hs_pipeline" property other than "0" using the</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-create-a-ticket-with-quot-hs-pipeline-quot-property-other/m-p/328355#M31754</link>
      <description>&lt;P&gt;Hello WendyGoh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a ticket for a&amp;nbsp; pipeline which is not the default one ("0").&lt;/P&gt;&lt;P&gt;The values that I recieved in the &lt;A href="https://api.hubspot.com/crm-pipelines/v1/pipelines/tickets" target="_self"&gt;crm_pipeline&amp;nbsp;&lt;/A&gt;in the "pipelineId" attribute could not be used to create a new ticket (I recived the error: "Property values were not valid" when I used the "pipelineId" attribute that was returned from the&amp;nbsp;&amp;nbsp; &lt;A href="https://api.hubspot.com/crm-pipelines/v1/pipelines/tickets" target="_self"&gt;crm_pipeline&lt;/A&gt; API).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I used the value "0" for the "hs_pipeline" property to create a &lt;A href="https://api.hubapi.com/crm-objects/v1/objects/tickets?hapikey=demo" target="_self"&gt;ticket&lt;/A&gt; everthing worked fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you follow me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yoram&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 09:02:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-create-a-ticket-with-quot-hs-pipeline-quot-property-other/m-p/328355#M31754</guid>
      <dc:creator>yorambaron</dc:creator>
      <dc:date>2020-03-30T09:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a ticket with "hs_pipeline" property other than "0" using the</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-create-a-ticket-with-quot-hs-pipeline-quot-property-other/m-p/328397#M31758</link>
      <description>&lt;P&gt;Hello &lt;SPAN&gt;WendyGoh,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to get the hs_pipeline and hs_pipeline_stage correct values you need to call to the following API:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hubspot.com/" target="_blank"&gt;https://api.hubapi.com/crm-objects/v1/objects/tickets/&amp;lt;number&amp;gt;?hapikey=&amp;lt;value&amp;gt;&amp;amp;properties=subject&amp;amp;properties=content&amp;amp;properties=created_by&amp;amp;properties=hs_pipeline&amp;amp;properties=hs_pipeline_stage&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After setting the correct values (that are returned from this API) I could create a ticket with a different pipeline.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is resolved.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 12:39:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-create-a-ticket-with-quot-hs-pipeline-quot-property-other/m-p/328397#M31758</guid>
      <dc:creator>yorambaron</dc:creator>
      <dc:date>2020-03-30T12:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a ticket with "hs_pipeline" property other than "0" using the</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-create-a-ticket-with-quot-hs-pipeline-quot-property-other/m-p/328575#M31775</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/98108"&gt;@yorambaron&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The `hs_pipeline` parameter that you set when creating ticket via this endpoint:&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/tickets/create-ticket" target="_blank"&gt;Create a ticket&lt;/A&gt; is referring to the `pipelineId` returned on this endpoint:&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.hubspot.com/docs/methods/pipelines/get_pipelines_for_object_type" target="_blank" rel="nofollow noopener noreferrer"&gt;Get all pipelines for a specified object type&lt;/A&gt;&amp;nbsp;and the `hs_pipeline_stage` is referring to the `stageId`.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;E.g. I send a GET request to&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/pipelines/get_pipelines_for_object_type" target="_blank" rel="nofollow noopener noreferrer"&gt;Get all pipelines for a specified object type&lt;/A&gt; on your portal and I'm able to note that the &lt;STRONG&gt;Customer Service&lt;/STRONG&gt; pipeline has a pipelineId -&amp;nbsp;&lt;SPAN&gt;1091395 and the stage `&lt;STRONG&gt;New Customer Email (Waiting on us)&lt;/STRONG&gt;` has a stageId -&amp;nbsp;1091398. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As such if you're looking to create a ticket using the&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/tickets/create-ticket" target="_blank"&gt;Create a ticket&lt;/A&gt;&amp;nbsp;endpoint with ticket under pipeline&amp;nbsp;&lt;STRONG&gt;Customer Service&lt;/STRONG&gt;&amp;nbsp;and ticket stage as `&lt;STRONG&gt;New Customer Email (Waiting on us)&lt;/STRONG&gt;`, you pass the following body:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;[
  {
    "name": "subject",
    "value": "This is an hs test ticket"
  },
  {
    "name": "content",
    "value": "Test"
  },
  {
    "name": "hs_pipeline",
    "value": "1091395"
  },
  {
    "name": "hs_pipeline_stage",
    "value": "1091398"
  }
]&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps to further clarify things!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 03:51:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-create-a-ticket-with-quot-hs-pipeline-quot-property-other/m-p/328575#M31775</guid>
      <dc:creator>WendyGoh</dc:creator>
      <dc:date>2020-03-31T03:51:11Z</dc:date>
    </item>
  </channel>
</rss>

