<?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 get company workflow using api calls? in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-get-company-workflow-using-api-calls/m-p/656858#M54465</link>
    <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/409338"&gt;@JBui&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; To confirm, you are not missing an option. From the&amp;nbsp;&lt;A href="https://legacydocs.hubspot.com/docs/methods/workflows/v3/get_workflows" target="_blank" rel="noopener"&gt;Get Workflows API documentation&lt;/A&gt;:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Note: The Workflows API currently only supports contact-based workflows.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this case, it is the expected behaviour that&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;only&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;Contact-based workflow will be returned by the Workflow endpoints. At this time, there is no method to make a request for other Object-based workflows, including companies.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jun 2022 19:07:57 GMT</pubDate>
    <dc:creator>Jaycee_Lewis</dc:creator>
    <dc:date>2022-06-28T19:07:57Z</dc:date>
    <item>
      <title>How to get company workflow using api calls?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-get-company-workflow-using-api-calls/m-p/656464#M54449</link>
      <description>&lt;P&gt;Hi I am desperatly looking for a solution for my Nodejs app.&lt;BR /&gt;The mission is to get company-based workflows using the v3 api endpoints.&lt;/P&gt;&lt;P&gt;Using the endpoint in this docs:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://legacydocs.hubspot.com/docs/methods/workflows/v3/get_workflows" target="_blank"&gt;Get workflows | Workflows API (hubspot.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;All I received are just contact-based workflow. Am I missing something?&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const url = `https://api.hubapi.com/automation/v3/workflows/?hapikey=${process.env.HUBSPOT_API_KEY}`;
const allWfs = await axios.get(url).then((res) =&amp;gt; res.data);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 09:10:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-get-company-workflow-using-api-calls/m-p/656464#M54449</guid>
      <dc:creator>JBui</dc:creator>
      <dc:date>2022-06-28T09:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to get company workflow using api calls?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-get-company-workflow-using-api-calls/m-p/656858#M54465</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/409338"&gt;@JBui&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; To confirm, you are not missing an option. From the&amp;nbsp;&lt;A href="https://legacydocs.hubspot.com/docs/methods/workflows/v3/get_workflows" target="_blank" rel="noopener"&gt;Get Workflows API documentation&lt;/A&gt;:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Note: The Workflows API currently only supports contact-based workflows.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this case, it is the expected behaviour that&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;only&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;Contact-based workflow will be returned by the Workflow endpoints. At this time, there is no method to make a request for other Object-based workflows, including companies.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 19:07:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-get-company-workflow-using-api-calls/m-p/656858#M54465</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2022-06-28T19:07:57Z</dc:date>
    </item>
  </channel>
</rss>

