API: Add a Project to a Folder

Assigns an existing Project to a folder.

Note: Before using this call, you'll need to authenticate against the API as detailed in Making your first call to the Project API.


All of these examples have simulation mode turned on. Once you are ready to use in a production environment, you can remove the simulation parameter. Any changes will then affect your account.

The following arguments are available against this endpoint:

project_code -  arg1, The code for the project you would like to assign to the folder.

folder -  arg2, Id of the folder that the project should be assigned to.







$nonce = get_nonce('https://api.elucidat.com/v2/projects', 'PUBLIC_KEY', 'PRIVATE_KEY');
$headers = auth_headers('PUBLIC_KEY', $nonce);
$fields = array(
    'folder' => $arg2,
    'simulation_mode' => 'simulation'
$result = call_elucidat($headers, $fields, 'POST', "https://api.elucidat.com/v2/projects/folders/$arg1", 'PRIVATE_KEY');
echo ("HTTP status code: " . $result['status'] . "\n");

Python 3.9

     endpoint = '/v2/projects/folders/arg1'
     method = 'POST'
     params = {}
     data = {'folder': 'arg2',
'simulation_mode': 'simulation'} api = Api(api_root, endpoint, method, params, data, private_key, public_key) api.call_elucidat()


HTTP status code: 201
    [message] => Project added to folder

Was this article helpful?
0 out of 0 found this helpful

Articles in this section

See more
Request support
Access support that’s tailored to you by getting in touch with our Support Team.
Send us feedback
Do you have a new feature request, or want to tell us about something that works well (or not so well) for you? Get in touch!