Wrike Task IDs vs API Ids

I am curious about why the Task IDs you get from a URL Query differs than the ID that is needed for the API.

An example is if I want to pull a Task ID it will have two different IDS:

URL: wrike.com/workspace.htm?path=folder&id=1234
API: {"taskId": "ABCD"}


Is there also a way to find this API TaskID and FolderID more easily? Currently, the best process we came up with was to move a folder/task into a folder that we already know the ID of, then do an API call to the folder pull up the IDs, after we get their IDs we move it out of the initial folder.

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

Has anyone come up with this? I am having the same issue.

Why separate the IDs?

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

I can't speak to why the IDs are different, but I constantly need to look up IDs for the API, and I've found the fastest way to do this is using Postman. There's a good pinned article at https://help.wrike.com/hc/en-us/community/posts/115000282125-Beginners-Guide-Get-Data-From-Wrike-s-API-Without-Coding-via-Postman describing how to do this.

My go-to calls are:

I then search the response body within Postman to get the IDs I need based on the folder or task name.

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

Thanks for the response, Laura Boylan, that is currently one of our team's go-to solution other than pulling this id via the Folder/Task Permalink.

One of the most recent issues we are finding with this, however, is trying to grab the ID for something like spaces. During a direct GET call to the api endpoint GET spaces https://developers.wrike.com/documentation/api/methods/get-spaces

Where the spaces return a 500 error and no permalink is visibly found as grabbing a folder id or task id. 

 

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

Russell Wilkie - That's odd. I'm not seeing any problem with the response returned by https://www.wrike.com/api/v4/spaces on our account. Wrike Support may need to assist if you're getting 500 errors here.

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

This is the dumbest way to setup an api 🙄

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

The Wrike v4 API provides a method for converting legacy IDs (i.e., the IDs shown in the url when accessing data via the Wrike front-end): https://developers.wrike.com/api/v4/ids/

For example, a GET call to the following url would retrieve the v4 ID for a task from its legacy ID 1234:

https://www.wrike.com/api/v4/ids?ids=[1234]&type=ApiV2Task

Per the developer documentation this can be performed for the legacy IDs for:

  • Accounts (ApiV2Account)
  • Users and Groups (ApiV2User)
  • Folders (ApiV2Folder)
  • Tasks (ApiV2Task)
  • Comments (ApiV2Comment)
  • Attachments (ApiV2Attachment)
  • Timelog Entries (ApiV2Timelog)

Garrett McCutcheon Community Team at Wrike Wrike Product Manager Conosci le straordinarie funzionalità di Wrike e le best practices

Garrett McCutcheon Wrike Team member Conosci le straordinarie funzionalità di Wrike e le best practices

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

Thanks Garrett...Your parameters are NOT a part of the Wrike API documentation (https://developers.wrike.com/api/v4/ids/#legacy-api-v2-ids-converter)  It seems like you know something no one else knows :-)

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos
Avatar
Lisa K.

Hi Kyle Peters, it seems that Garrett is referring to additional sub-parameters. Please click the caret icon to open them:

Hope it clarifies your question🙌

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

Lisa, thank you for your replay. However, this is not helping me. I think I must be missing something - as I look at your screenshots, my screen looks different. I do not see that "Request" section with the URL parameters. I am including a screenshot of what I see. 

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

Lisa, Thanks to my colleague, I actually clicked (not intuitive) the "GET" button, and viola! Now I see everything!

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

We're glad to hear that, Kyle Peters, and thank you for letting us know your feedback 🙌

Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa Wrike Team member Become a Wrike expert with Wrike Discover

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

hi Lisa - even though this is an old thread, I am also looking to decode the ID puzzle

I have a permalink and even though I follow the syntax in Postman

{{WrikeAPI}}/ids?type=ApiV2Folder&ids=[12345678]

I don't get the resulting legacy ID. It only shows the page from the Documentation - Any ideas on next steps? Thanks!

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

Hey Jeffrey Veffer, I can see our Support specialist has been able to help 🙂

Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa Wrike Team member Become a Wrike expert with Wrike Discover

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

Hi Lisa I too am stuck with what I thought would be a simple task - matching the value of Task ID between Wrike and Wrike Integrate. I am reading the Task ID in Wrike which is being returned in a format "1247675229" but in Workato I am getting IEAGAD7JKRFF4A25. Can you show me how I can make sure that I'm using the latest API or how to translate between the two please. Many thanks, Ben

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

Hi Ben 👋 Benjamin Rodd

I won't be able to advise on this topic, so I've asked our Integrations experts from our Support team to reach out to you about this 👍

Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa Wrike Team member Become a Wrike expert with Wrike Discover

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

Hi Lisa, thank you very much. I'll wait to hear from them.

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

Hi Lisa no contact from support as yet...would you mind giving them a nudge. This is a complete blocker at the moment. 

many thanks for any help you can give,

Ben

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

Hey Benjamin Rodd, Sure, I'm happy to help. Someone will reach out to you ASAP. 

Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Lisa Wrike Team member Become a Wrike expert with Wrike Discover

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

Folllowing List for Post: Wrike Task IDs vs API Ids
[this list is visible for admins and agents only]

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