# Contact Workflow API: Missing Required Details?

**URL:** <https://community.hubspot.com/t/contact-workflow-api-missing-required-details/19577>\
**Category:** APIs & Integrations\
**Tags:** workflows\
**Created:** [March 23, 2020, 1:12am UTC](https://community.hubspot.com/t/contact-workflow-api-missing-required-details/19577 "2020-03-23T01:12:49Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim\_Munro](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tim_munro/32/87893_2.png) [@Tim\_Munro](https://community.hubspot.com/u/Tim_Munro)\
**Post date:** [March 23, 2020, 1:12am UTC](https://community.hubspot.com/t/contact-workflow-api-missing-required-details/19577/1 "2020-03-23T01:12:49Z")

</div>

Using the HubSpot workflow API to query the definition of a contact workflow from one HubSpot portal, and replicate the workflow configuration into another HubSpot portal. Have foud that some of the workflow configuration detail is not available via the HubSpot API. Consider the fragment below - part of a “Get Workflow” response:

```auto
{
 "actions": [{
 "acceptActions": [{
 "acceptActions": [{
 "actionId": 27,
 "emailCampaignGroupId": 71927769,
 "emailCampaignId": 84131493,
 "emailContentId": 8830681622,
 "goalListCount": 0,
 "stepId": 1,
 "type": "EMAIL"
 }, {
 "actionId": 28,
 "propertyName": "some_property",
 "stepId": 1,
 "type": "SET_CONTACT_PROPERTY"
 }
 ],
 "actionId": 2,
 "filters": [],
 "filtersListId": 1195,

```

Notice the property filtersListId = 1195. This is an “If/Then” branch step and the “filtersListId” represents filter logic that is to be applied to determine which branch is to be followed. For example, the logic could be “IF Contact Property X=Test THEN follow accept branch”.

Unfortunately there seems to be no way to retrieve, via the HubSpot API, details of what the logic of filtersListId = 1195 actually is. For example, calling the “Contact Lists API” with to retrieve the list with id 1195 returns a 404 not found error.

Has anyone successfully retrieved this detail via the HubSpot API?

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [March 23, 2020, 7:12pm UTC](https://community.hubspot.com/t/contact-workflow-api-missing-required-details/19577/2 "2020-03-23T19:12:48Z")

</div>

Hi, [@Tim\_Munro](https://community.hubspot.com/t5/user/viewprofilepage/user-id/17996).

Thanks for reaching out.

I’m seeing this behavior as well. (If I recall correctly, the [v2 Workflows API](https://developers.hubspot.com/docs/methods/workflows/get_workflow) previously displayed all filter conditions.)

Can you confirm the first four digits of the Hub ID you are querying and share the request URL (without any authentication details) so that I can share another example with my team?

---

<div class="post-metadata">

**Author:** ![Tim\_Munro](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tim_munro/32/87893_2.png) [@Tim\_Munro](https://community.hubspot.com/u/Tim_Munro)\
**Post date:** [March 23, 2020, 7:39pm UTC](https://community.hubspot.com/t/contact-workflow-api-missing-required-details/19577/3 "2020-03-23T19:39:42Z")

</div>

Thanks Isaac - that is interesting.

The Hub ID starts with: 4505 and we are calling the endpoint described here [https://developers.hubspot.com/docs/methods/workflows/v3/get\_workflow](https://developers.hubspot.com/docs/methods/workflows/v3/get_workflow) with workflowId set to 1043307.

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [March 24, 2020, 12:45pm UTC](https://community.hubspot.com/t/contact-workflow-api-missing-required-details/19577/4 "2020-03-24T12:45:30Z")

</div>

Hi, [@Tim\_Munro](https://community.hubspot.com/t5/user/viewprofilepage/user-id/17996).

Thanks, however I’m having trouble locating that workflow. Could you direct message me a link to it?

I’ll be bringing this up to the team to get insight into whether anything changed and what can be done to surface this information for integrators like you.

I appreciate your understanding!

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [March 24, 2020, 2:23pm UTC](https://community.hubspot.com/t/contact-workflow-api-missing-required-details/19577/5 "2020-03-24T14:23:49Z")

</div>

Hi, [@Tim\_Munro](https://community.hubspot.com/t5/user/viewprofilepage/user-id/17996).

The team is investigating. No need to send me the link at this point!

---

<div class="post-metadata">

**Author:** ![Tim\_Munro](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tim_munro/32/87893_2.png) [@Tim\_Munro](https://community.hubspot.com/u/Tim_Munro)\
**Post date:** [March 24, 2020, 7:29pm UTC](https://community.hubspot.com/t/contact-workflow-api-missing-required-details/19577/6 "2020-03-24T19:29:50Z")

</div>

Thanks Isaac, much appreciated!

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [March 31, 2020, 1:58pm UTC](https://community.hubspot.com/t/contact-workflow-api-missing-required-details/19577/7 "2020-03-31T13:58:04Z")

</div>

Hi, [@Tim\_Munro](https://community.hubspot.com/t5/user/viewprofilepage/user-id/17996).

Thank you again for your patience.

This issue should now be resolved and the if/then branch’s `filters` should be returned.

Please let me know if you are not seeing this behavior.

---

<div class="post-metadata">

**Author:** ![Tim\_Munro](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tim_munro/32/87893_2.png) [@Tim\_Munro](https://community.hubspot.com/u/Tim_Munro)\
**Post date:** [March 31, 2020, 7:37pm UTC](https://community.hubspot.com/t/contact-workflow-api-missing-required-details/19577/8 "2020-03-31T19:37:48Z")

</div>

Brilliant, yes I can see those filters again now & so can successfully clone the workflow if/then branches between portals. Thanks for the assistance @IsaacTakushi.

---

<div class="post-metadata">

**Author:** ![dnfdrmn](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@dnfdrmn](https://community.hubspot.com/u/dnfdrmn)\
**Post date:** [October 10, 2023, 5:10am UTC](https://community.hubspot.com/t/contact-workflow-api-missing-required-details/19577/9 "2023-10-10T05:10:52Z")

</div>

Not to throw a wrench in the works @IsaacTakushi (and obviously it’s 3-and-a-half years later), but when querying a workflow with multiple branches, only the first branch data is being returned….

E.g., this endpoint

[https://api.hubapi.com/automation/v3/workflows/49279319](https://api.hubapi.com/automation/v3/workflows/49279319,)

returns only the first branch filters, not the second branch as well.  
Am I missing something?
