# How to get company workflow using api calls?

**URL:** <https://community.hubspot.com/t/how-to-get-company-workflow-using-api-calls/59919>\
**Category:** APIs & Integrations\
**Tags:** workflows\
**Created:** [June 28, 2022, 9:10am UTC](https://community.hubspot.com/t/how-to-get-company-workflow-using-api-calls/59919 "2022-06-28T09:10:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JBui](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@JBui](https://community.hubspot.com/u/JBui)\
**Post date:** [June 28, 2022, 9:10am UTC](https://community.hubspot.com/t/how-to-get-company-workflow-using-api-calls/59919/1 "2022-06-28T09:10:46Z")

</div>

Hi I am desperatly looking for a solution for my Nodejs app.  
The mission is to get company-based workflows using the v3 api endpoints.

Using the endpoint in this docs:

[Get workflows | Workflows API (hubspot.com)](https://legacydocs.hubspot.com/docs/methods/workflows/v3/get_workflows)

All I received are just contact-based workflow. Am I missing something?

```lia-code-sample
const url = `https://api.hubapi.com/automation/v3/workflows/?hapikey=${process.env.HUBSPOT_API_KEY}`;
const allWfs = await axios.get(url).then((res) => res.data);

```

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [June 28, 2022, 7:07pm UTC](https://community.hubspot.com/t/how-to-get-company-workflow-using-api-calls/59919/2 "2022-06-28T19:07:57Z")

</div>

Hey, @JBui 👋 To confirm, you are not missing an option. From the [Get Workflows API documentation](https://legacydocs.hubspot.com/docs/methods/workflows/v3/get_workflows):

`Note: The Workflows API currently only supports contact-based workflows.`

In this case, it is the expected behaviour that _ **only** _ 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.

Best,

Jaycee
