Create a folder Run in API Explorer
Ask AI
To create a subfolder pass the parent folder UUID under parent key. This subfolder will inherit the documentable_type and documentable_uuid of its parent folder.
POST
/api/v1/folder
curl \
--request POST 'https://api.plannrcrm.com/api/v1/folder' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"name":"Important Documents","parent":"a0173e41-7fa3-4bfd-8b6c-97c303080f09"}'
Request examples
{
"name": "Important Documents",
"parent": "a0173e41-7fa3-4bfd-8b6c-97c303080f09"
}
Response examples (200)
{
"uuid": "e96714f0-e37d-446f-a72a-d277b872fd3a",
"created_at": "2026-04-13T17:23:51+01:00",
"updated_at": "2026-04-13T17:23:51+01:00",
"name": "Important Documents",
"slug": "important-documents",
"path": "Codepotato/Important Documents",
"clients_read": true,
"clients_write": true,
"show_client_permissions": true,
"is_system_folder": true,
"is_pseudo_folder": true,
"is_root_folder": true,
"documentable_type": "account",
"documentable_uuid": "account",
"documentable": "Object",
"participants_count": 3,
"participants": [
{
"uuid": "e08e3a39-7e51-425e-b667-37994a3b2e72",
"created_at": "2026-04-13T17:23:51+01:00",
"updated_at": "2026-04-13T17:23:51+01:00",
"name": "Gareth Thompson",
"write": true
}
],
"folders_count": 5,
"folders": [
{
"uuid": "5894b079-dc74-44a8-8b45-f89c420463bd",
"created_at": "2026-04-13T17:23:51+01:00",
"updated_at": "2026-04-13T17:23:51+01:00",
"name": "Important Documents",
"slug": "important-documents",
"path": "Codepotato/Important Documents",
"clients_read": true,
"clients_write": true,
"show_client_permissions": true,
"is_system_folder": true,
"is_pseudo_folder": true,
"is_root_folder": true,
"documentable_type": "account",
"documentable_uuid": "account",
"documentable": "Object",
"participants_count": 3,
"participants": "App\\Http\\Resources\\FolderParticipantResource",
"folders_count": 5,
"folders": "App\\Http\\Resources\\FolderResource",
"files_count": 8,
"files": "App\\Http\\Resources\\FileResource",
"parents": "App\\Http\\Resources\\FolderResource",
"ancestors": "App\\Http\\Resources\\FolderResource",
"children": "App\\Http\\Resources\\FolderResource",
"depth": 5,
"owned": false
}
],
"files_count": 8,
"files": [
{
"uuid": "b74cb8e0-738a-4c4e-ad86-c969e9d70246",
"created_at": "2026-04-13T17:23:51+01:00",
"original_created_at": "2026-04-13T17:23:51+01:00",
"updated_at": "2026-04-13T17:23:51+01:00",
"uploaded_at": "2026-04-13T17:23:51+01:00",
"status": "uploaded",
"filename": "Welcome to Plannr.pdf",
"name": "Welcome to Plannr",
"extension": "pdf",
"type": "type",
"size": "21691783",
"path": "Gareth Thompson/Subfolder/Welcome to Plannr.pdf",
"last_modified": "2026-04-13T17:23:51+01:00",
"progress": "100",
"download_url": "https://api.plannrcrm.com/file/16fbeac4-7996-4aa9-9ff5-3c576e2f3aab/download",
"folder_name": "folder 2",
"folder": "App\\Http\\Resources\\FolderResource",
"documentable_type": "account",
"documentable": "Object",
"navigator": {
"model_type": "account",
"model_uuid": "777a2d80-fcc0-4c98-9f51-c35c91c13152"
},
"firm": "App\\Http\\Resources\\FirmResource",
"account": "App\\Http\\Resources\\MinimalAccountResource",
"tags": "App\\Http\\Resources\\TagResource"
}
],
"parents": [
{
"uuid": "dd005bcd-1b5f-47aa-838e-e105773edeec",
"created_at": "2026-04-13T17:23:51+01:00",
"updated_at": "2026-04-13T17:23:51+01:00",
"name": "Important Documents",
"slug": "important-documents",
"path": "Codepotato/Important Documents",
"clients_read": true,
"clients_write": true,
"show_client_permissions": true,
"is_system_folder": true,
"is_pseudo_folder": true,
"is_root_folder": true,
"documentable_type": "account",
"documentable_uuid": "account",
"documentable": "Object",
"participants_count": 3,
"participants": "App\\Http\\Resources\\FolderParticipantResource",
"folders_count": 5,
"folders": "App\\Http\\Resources\\FolderResource",
"files_count": 8,
"files": "App\\Http\\Resources\\FileResource",
"parents": "App\\Http\\Resources\\FolderResource",
"ancestors": "App\\Http\\Resources\\FolderResource",
"children": "App\\Http\\Resources\\FolderResource",
"depth": 5,
"owned": false
}
],
"ancestors": [
{
"uuid": "cf2d5cf4-a22d-471a-992c-5a941d05dcea",
"created_at": "2026-04-13T17:23:51+01:00",
"updated_at": "2026-04-13T17:23:51+01:00",
"name": "Important Documents",
"slug": "important-documents",
"path": "Codepotato/Important Documents",
"clients_read": true,
"clients_write": true,
"show_client_permissions": true,
"is_system_folder": true,
"is_pseudo_folder": true,
"is_root_folder": true,
"documentable_type": "account",
"documentable_uuid": "account",
"documentable": "Object",
"participants_count": 3,
"participants": "App\\Http\\Resources\\FolderParticipantResource",
"folders_count": 5,
"folders": "App\\Http\\Resources\\FolderResource",
"files_count": 8,
"files": "App\\Http\\Resources\\FileResource",
"parents": "App\\Http\\Resources\\FolderResource",
"ancestors": "App\\Http\\Resources\\FolderResource",
"children": "App\\Http\\Resources\\FolderResource",
"depth": 5,
"owned": false
}
],
"children": [
{
"uuid": "079cf230-ea39-4efc-b2bc-f4c41f91c170",
"created_at": "2026-04-13T17:23:51+01:00",
"updated_at": "2026-04-13T17:23:51+01:00",
"name": "Important Documents",
"slug": "important-documents",
"path": "Codepotato/Important Documents",
"clients_read": true,
"clients_write": true,
"show_client_permissions": true,
"is_system_folder": true,
"is_pseudo_folder": true,
"is_root_folder": true,
"documentable_type": "account",
"documentable_uuid": "account",
"documentable": "Object",
"participants_count": 3,
"participants": "App\\Http\\Resources\\FolderParticipantResource",
"folders_count": 5,
"folders": "App\\Http\\Resources\\FolderResource",
"files_count": 8,
"files": "App\\Http\\Resources\\FileResource",
"parents": "App\\Http\\Resources\\FolderResource",
"ancestors": "App\\Http\\Resources\\FolderResource",
"children": "App\\Http\\Resources\\FolderResource",
"depth": 5,
"owned": false
}
],
"depth": 5,
"owned": false
}