Get workflow of a task, or of a customstatus

Given a task ID, how can I retrieve via the API the workflow for the custom status that is currently active?

 

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos
2 comments

  "Hi. I tried with my custom Wrike agent (in Claude Code, which uses both MCP server and API), and here's what I found:"

  Step 1: Get the task → returns customStatusId

  Step 2: Call GET /workflows → returns all workflows with their custom statuses

  Problem: The customStatusId from my task doesn't appear in any of the workflows returned by the API.

  It seems the /workflows endpoint only returns account-wide workflows. If your task uses a custom status from a space-specific workflow or a custom item type, that workflow won't be included in the response.

  I couldn't find official documentation confirming this limitation. Can anyone from Wrike clarify?

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos
 
Thank you for posting your query. To get an accurate answer, I’d suggest getting in touch with our Support Team, as one of our API experts can help. Do let me know if you’d like me to raise a ticket on your behalf, happy to assist further :)

Rohan V Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Rohan V Wrike Team member Become a Wrike expert with Wrike Discover

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Folllowing List for Post: Get workflow of a task, or of a customstatus
[this list is visible for admins and agents only]

Top

Upcoming Live Sessions

Didn’t find what you were looking for? Write new post