curl --request POST \
--url https://api.tomorro.com/v2/folders \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "NDA",
"parentFolderId": "7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f"
}
'import requests
url = "https://api.tomorro.com/v2/folders"
payload = {
"name": "NDA",
"parentFolderId": "7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'NDA', parentFolderId: '7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f'})
};
fetch('https://api.tomorro.com/v2/folders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tomorro.com/v2/folders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'NDA',
'parentFolderId' => '7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.tomorro.com/v2/folders"
payload := strings.NewReader("{\n \"name\": \"NDA\",\n \"parentFolderId\": \"7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.tomorro.com/v2/folders")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"NDA\",\n \"parentFolderId\": \"7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tomorro.com/v2/folders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"NDA\",\n \"parentFolderId\": \"7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f\"\n}"
response = http.request(request)
puts response.read_body{
"id": "3f2a1c9e-8b7d-4e6f-9a0b-1c2d3e4f5a6b",
"name": "NDA",
"parentFolderId": "7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f",
"ownerId": "550e8400-e29b-41d4-a716-446655440000",
"createdAt": "2026-10-01T09:00:00.000Z",
"updatedAt": "2026-10-15T14:30:00.000Z"
}Create folder
Creates a folder, at the root or under a parent the API key owner can access. The new folder inherits the sharing of its parent. Requires an admin key owner.
curl --request POST \
--url https://api.tomorro.com/v2/folders \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "NDA",
"parentFolderId": "7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f"
}
'import requests
url = "https://api.tomorro.com/v2/folders"
payload = {
"name": "NDA",
"parentFolderId": "7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'NDA', parentFolderId: '7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f'})
};
fetch('https://api.tomorro.com/v2/folders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tomorro.com/v2/folders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'NDA',
'parentFolderId' => '7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.tomorro.com/v2/folders"
payload := strings.NewReader("{\n \"name\": \"NDA\",\n \"parentFolderId\": \"7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.tomorro.com/v2/folders")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"NDA\",\n \"parentFolderId\": \"7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tomorro.com/v2/folders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"NDA\",\n \"parentFolderId\": \"7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f\"\n}"
response = http.request(request)
puts response.read_body{
"id": "3f2a1c9e-8b7d-4e6f-9a0b-1c2d3e4f5a6b",
"name": "NDA",
"parentFolderId": "7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f",
"ownerId": "550e8400-e29b-41d4-a716-446655440000",
"createdAt": "2026-10-01T09:00:00.000Z",
"updatedAt": "2026-10-15T14:30:00.000Z"
}Authorizations
API key for authentication. Get your key at https://app.tomorro.com/settings/integrations?integration=api-key
Body
Folder name, unique among its siblings. Leading and trailing spaces are trimmed and / is replaced by |.
1 - 255"NDA"
Parent folder. Omit or send null to create a root folder.
"7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f"
Response
Folder created
Unique identifier of the folder.
"3f2a1c9e-8b7d-4e6f-9a0b-1c2d3e4f5a6b"
Name of the folder, unique among its siblings.
"NDA"
Identifier of the parent folder, null for a root folder. Always the real parent, even when the authenticated member cannot access it (a GET on that id then returns 404).
"7c8d9e0f-1a2b-4c3d-8e4f-5a6b7c8d9e0f"
Identifier of the member who owns the folder.
"550e8400-e29b-41d4-a716-446655440000"
Creation date (ISO 8601).
"2026-10-01T09:00:00.000Z"
Last modification date (ISO 8601).
"2026-10-15T14:30:00.000Z"