Get root folder for a client Run in API Explorer
Ask AI
GET
/api/v1/account/{account_uuid}/documents
curl \
--request GET 'https://api.plannrcrm.com/api/v1/account/6ff8f7f6-1eb3-3525-be4a-3932c805afed/documents' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
"uuid": "34ecd6f7-7248-4eaa-969d-92b1a8da8031",
"created_at": "2026-05-22T15:30:20+01:00",
"updated_at": "2026-05-22T15:30:20+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": "f16b696f-d348-48c6-8c02-45c1dc27c135",
"created_at": "2026-05-22T15:30:20+01:00",
"updated_at": "2026-05-22T15:30:20+01:00",
"name": "Gareth Thompson",
"write": true
}
],
"folders_count": 5,
"folders": [
{
"uuid": "5f00dfca-2b71-4d0e-9787-9fce9a4c5700",
"created_at": "2026-05-22T15:30:20+01:00",
"updated_at": "2026-05-22T15:30:20+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": "33778dd9-3331-4bbd-9925-539c67d009e2",
"created_at": "2026-05-22T15:30:20+01:00",
"original_created_at": "2026-05-22T15:30:20+01:00",
"updated_at": "2026-05-22T15:30:20+01:00",
"uploaded_at": "2026-05-22T15:30:20+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-05-22T15:30:20+01:00",
"progress": "100",
"download_url": "https://api.plannrcrm.com/file/417ce890-fb70-4cc9-a88c-6b48b23f7a0a/download",
"folder_name": "folder 2",
"folder": "App\\Http\\Resources\\FolderResource",
"documentable_type": "account",
"documentable": "Object",
"navigator": {
"model_type": "account",
"model_uuid": "90bc0685-98a2-4b03-9eae-ae89e845bb5e"
},
"firm": "App\\Http\\Resources\\FirmResource",
"account": "App\\Http\\Resources\\MinimalAccountResource",
"tags": "App\\Http\\Resources\\TagResource"
}
],
"parents": [
{
"uuid": "7193df90-6f9f-48c0-897b-cce1c41cd973",
"created_at": "2026-05-22T15:30:20+01:00",
"updated_at": "2026-05-22T15:30:20+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": "1bc2178c-8c05-4c9a-ac96-4ff09ac444b0",
"created_at": "2026-05-22T15:30:20+01:00",
"updated_at": "2026-05-22T15:30:20+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": "af8d7518-7e5b-4521-b5be-4f1c73ea1731",
"created_at": "2026-05-22T15:30:20+01:00",
"updated_at": "2026-05-22T15:30:20+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
}