How to create project under folder through API

Can you please let me know how to create project under Folder on wrike through API. As on your documentation there's a tab with folders and projects but under this there's no API call for project creation. 
I'm looking here to get API call for project creation
https://developers.wrike.com/api/v4/folders-projects/

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

Actually I want  to create project in existing folder. like by using Folder ID and also want to pass custom fields data for project custom fields.
Secondly I want to get all projects list which are under any specific Folder.

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

Hi Fahad Muneer! Projects and folders are treated the same way in the API, the only difference is that projects have extra information in regards to Project Owners, and Start/End dates. If you use "project" instead of "folder", you should get the results you're looking for.

Hope this helps! If you have any other questions, be sure to let me know 😊

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

Its not working....I changed the name of folders to project but i'm getting error.

{"errorDescription":"Method '[POST] /projects/IEAEA4ICI4R2AN4L/project' is not supported","error":"method_not_found"}

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

Hi Ashir Zahid, welcome to the Community! I'm going to check with my colleagues now - we'll get back to you shortly 👍

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 Ashir Zahid, Thanks for your interest in Wrike API. We have already discussed creating a project via API with you today during our chat and the Community team asked me to post a reply to the thread in case other users face a similar issue.

To create a project under a folder through API call, please use the endpoint /folders/{folderId}/folders with the additional parameter project

Additionally, if you'd like to set a specific status on the project, you will need to add the parameter project={"customStatusId":"your_Custom_Status_ID"}.
To get the "customStatusId" value, please use the following call: GET https://www.wrike.com/api/v4/workflows

My test in Postman:

cURL:


Let us know if you have any additional questions.
Have fun testing Wrike API!

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

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

Lisa K. How do you apply a project to a second folder? For example, the API is creating the project in one folder. I'd like the same project tagged into a second folder by the API. 

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

Hi Gretchen Linder. Thanks for the additional question. Once you create a project in one location, please use a PUT call with the parameter addParents=[folder/project ID]to tag it in another parent item. Please refer to our API documentation and the screenshot below for more details:

Let me know if there is anything else we can help you with☺️

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

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

I also need an action in an automation, so when a task is completed the project is added to another folder or space. Actually I would like to have information on how to add a project to a folder that is part of a different space, and to a different space (directly), via automation. I need the same project to exist in 2 different spaces. 

What would be the API endpoint to be used and where can I check the documentation?

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos
 
Using Wrike’s native Automation, it’s possible to add a project to another space/folder when the status changes to complete.
 
1. Go to the space where you want to set up the automation.
2. Open Space Settings (gear icon) → Automation tab.
3. Create a new automation rule: Apply rule to Project
Trigger: “When status changes to all Completed”
Action: “Change location” → “Add to specific” → select the folder or space.
You can select multiple locations if needed. 
 
Result:
When the trigger occurs, the project will be cross-tagged into the selected folder(s) or space(s), and will appear in both places.
 
If you’d like to achieve this via API, I can ask one of our API experts to reach out to you and assist you further. Just let me know 🙂
 
Thanks!

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

Hi Rohan V
I need information on how to do it from Wirke Integrate.

 
The trigger I will use is that whenever the task changes the status to complete, then the project will be added to an additional location. I think this cannot be done in Wrike automate, but I know it can be done in Wrike integrate  via workato. 

The scenario is as follow:
In the Space A I have Project 1, and Project 1 is containing task 1.1. So at this point Project 1 is located in  Space A only.
Additionally I have Space B, containing the Folder B.1
The type of automation I need is: 
When task 1.1. changes the status to complete. Project 1 should be added to Folder B.1 (Folder B.1 is in space B) . So at this point Project 1 will be located in Space A and Space B (inside Folder B.1)


The information I  need from wrike, is the response to the following 2 questions please:
1) Is there a predefined action in Workato to do this, to add an item to a new folder, that is located in a different space
2) what is the API Method and the type of call (PUT or POST) to do this calling the API, and where can I find documentation about this API Method. In this post someone from Wrike recommends the method addParents=[folder/project ID], however I cannot find documentation about it. It is worth mentioning that I will be using the method in Workato via Custom actions. 
0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos
 
Thank you for getting back to me and for the clarification, It's clear now. I recommend reaching out to our Support Team as one of our experts can best address your questions. If you’d like, I can open a ticket on your behalf. Just let me know.

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: How to create project under folder through API
[this list is visible for admins and agents only]

Top

Upcoming Live Sessions

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