Unable to fetch Workflow Extensions for unpublished/dev apps

I have multiple apps, One for Prod (live prod user) and a few for different environments. To fetch workflow extension I am using following api
https://api.hubapi.com/automationextensions/v1/definitions?applicationId=app-id&hapikey=api-key
The above API shows correct results for live apps but for development apps, it shows an empty array

I cross-checked all the IDs and keys; everything seems right, but I am only seeing the result for our live app.
Workflow extension also doesn’t show up on developer protal , so I am not sure how to I can make changes in my workflow extension (development/testing apps)

Hey @Mubeen! Thanks for this post-- I appreciate you including your details. I want to invite some other community members to join the conversation — hey @aanchalshethHS, @zach_threadint, @SteveHTM do you have any guidance you can provide here?

Thanks!

Kennedy

Hi @Mubeen :waving_hand:

Have you tried using HubSpot’s V4 Automation API for this? See the “Get paged extension defintions” endpoint within this HubSpot API documentation.

Regarding the testing of custom workflow actions, my advice is using test public apps (like you mention you’re doing) and to set your test custom workflow actions as published (i.e. “published”: true). I’ve never had any luck testing unpublished custom workflow actions.

I hope that proves helpful. Let me know if you have any follow-up questions.