folderId from permalink
Wrike:
I know there is a way to call the API (v4), pass the parameter "permalink" along with a valid permalink string, and obtain some permalink data:
1) Where is the documentation for this? I looked under https://developers.wrike.com/ (under "methods") and could not find this information, although I know that this does work.
2) Is there a way to obtain the folderID for the corresponding permalink?
Thank you!
Hi Juan Villegas, thanks for reaching out with this 🙂

Indeed, there is no GET call to the "Permalink" endpoint, but the permalink parameter can be used with the "[GET] /folders" call in the "Get Folder Tree" method.
Therefore, it's possible to get folder/project details using permalink with an API query like this:
GET /folders?permalink=https://www.wrike.com/open.htm?id=xxxxxxxxx
. It returns the information about individual folder/project details (Folder ID, createdDate, title, etc):
Please let me know if you have any additional questions!
Lisa K. Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover
Lisa K. Wrike Team member Become a Wrike expert with Wrike Discover
Hello Laura,
I went to the "Get Folder tree" method and I saw no reference anywhere about the "permalink" parameter or for that matter, any parameter of any method.
Thanks again for your help!
Hi Juan Villegas, thank you for elaborating on your use-case.

If you'd looking for a method to get a parent folder ID by a task permalink, you can use a "GET /tasks" call:

By clicking on each particular call you will expand the menu depicting the request which outlines all the parameters that you can use for the call, including "permalink":
For the "Get Folder Tree" method, the ID that is returned is a folder ID. You can find the description of each response parameter on our Developers portal:
GET /tasks?permalink=https://www.wrike.com/open.htm?id=xxxxxxxxx&fields=[parentIds]
The parent folder ID is returned like this:
Hope it helps!
Lisa K. Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover
Lisa K. Wrike Team member Become a Wrike expert with Wrike Discover