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": "6ea56061-c0d0-4cff-8e96-a7817ecee23b",
"created_at": "2026-06-11T13:19:56+01:00",
"updated_at": "2026-06-11T13:19:56+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": "ec240f22-3e0c-451e-9b25-21b3a5499465",
"created_at": "2026-06-11T13:19:56+01:00",
"updated_at": "2026-06-11T13:19:56+01:00",
"name": "Gareth Thompson",
"write": true
}
],
"folders_count": 5,
"folders": [
{
"uuid": "17b64c5e-f356-413f-9717-673cece2b733",
"created_at": "2026-06-11T13:19:56+01:00",
"updated_at": "2026-06-11T13:19:56+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": "5f2c081d-dc08-4fc9-a4a4-4455bf644ba5",
"created_at": "2026-06-11T13:19:56+01:00",
"original_created_at": "2026-06-11T13:19:56+01:00",
"updated_at": "2026-06-11T13:19:56+01:00",
"uploaded_at": "2026-06-11T13:19:56+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-06-11T13:19:56+01:00",
"progress": "100",
"download_url": "https://api.plannrcrm.com/file/6286d1a8-8501-433a-9821-e6e16eab0f4d/download",
"folder_name": "folder 2",
"folder": "App\\Http\\Resources\\FolderResource",
"documentable_type": "account",
"documentable": "Object",
"navigator": {
"model_type": "account",
"model_uuid": "1cde011b-ca65-42c9-9739-940df48fb936"
},
"firm": "App\\Http\\Resources\\FirmResource",
"account": "App\\Http\\Resources\\MinimalAccountResource",
"tags": "App\\Http\\Resources\\TagResource"
}
],
"parents": [
{
"uuid": "042fd46d-af8e-47cb-b1f6-2be801cf3eff",
"created_at": "2026-06-11T13:19:56+01:00",
"updated_at": "2026-06-11T13:19:56+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": "be9ba73b-7bb4-4b6e-9e49-baf1c7d0caf4",
"created_at": "2026-06-11T13:19:56+01:00",
"updated_at": "2026-06-11T13:19:56+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": "1c2386ee-2479-489a-b4d4-747ee845c765",
"created_at": "2026-06-11T13:19:56+01:00",
"updated_at": "2026-06-11T13:19:56+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
}