APIs & Integrations

tommy-mwx
Participant

Wrong Documentation: Deleted WorkflowExtensions in GET Endpoint

SOLVE

Dear Community,

 

while programming an app, I often used the WorkflowExtension Endpoints from the Hubspot API. While developing the app, I created and deleted alot of Extensions. When I used the GET /automationextensions/v1/definitions Endpoint to show all of the Extensions, I always struggled to find my active Extenions. The Response shown in Postman was just to big to get a good overview. The GET Endpoint includes deleted workflows, which you can identifiy by the "deletedAt" property.

So I though about suggesting a filter on the GET Endpoint to hide deleted Workflows in the Idea Forum here at HubspotCommunities. But I just found a little mistake in the API Reference: https://legacydocs.hubspot.com/docs/methods/workflow-extensions/workflow-extensions-overview 

It states "It doesn't include any extension definitions that have been deleted", but when I execute:

curl --location --request GET 'https://api.hubapi.com/automationextensions/v1/definitions?hapikey=xxxx&applicationId=xxx' \

I get all deleted Extensions.

 

0 Upvotes
1 Accepted solution
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Wrong Documentation: Deleted WorkflowExtensions in GET Endpoint

SOLVE

hey @tommy-mwx !

Thank you for surfacing this!  Will get this updated!

View solution in original post

3 Replies 3
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Wrong Documentation: Deleted WorkflowExtensions in GET Endpoint

SOLVE

hey @tommy-mwx !

Thank you for surfacing this!  Will get this updated!

dennisedson
HubSpot Product Team
HubSpot Product Team

Wrong Documentation: Deleted WorkflowExtensions in GET Endpoint

SOLVE

oh @tommy-mwx , also!

add a link to that idea here so we can upvote!

0 Upvotes
tommy-mwx
Participant

Wrong Documentation: Deleted WorkflowExtensions in GET Endpoint

SOLVE

Thanky you for covering this @dennisedson 

As suggested, I created a post for my idea 🙂

https://community.hubspot.com/t5/HubSpot-Ideas/Filtering-deleted-workflows-in-API-endpoint/idi-p/381...