Get all custom default folders
Headers
-
Content-Type string
-
Accept string
-
X-PLANNR-ACCOUNT-UUID string
Query parameters
-
filter[uuid] string
Filter by a comma separated list of UUIDs.
-
filter[model] string
Filter by model type. Valid types are [client, case, plan]
-
filter[is_active] boolean
Filter only active custom default folders
-
per_page integer
Number of results to return with pagination (Default 15. Max 500).
-
sort string
Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC. Defaults to '-created_at'.
GET
/api/v1/custom-default-folder
curl \
-X GET https://api.plannrcrm.com/api/v1/custom-default-folder \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
"data": [
{
"uuid": "a751529e-48ba-467e-986a-ba5e12d1a1dd",
"model": "client",
"case_type": {
"name": "Mortgage Plan",
"uuid": "07632a72-44ec-4d93-b416-4da171e04ec9",
"created_at": "2025-01-17T11:18:33+00:00",
"updated_at": "2025-01-17T11:18:33+00:00"
},
"is_active": true,
"parameter": "client",
"structure": [
{
"name": "Documents",
"children": [
{
"name": "Contracts",
"children": []
},
{
"name": "Emails",
"children": []
}
]
},
{
"name": "Notes",
"children": []
}
],
"created_at": "2025-01-17T11:18:33+00:00",
"updated_at": "2025-01-17T11:18:33+00:00",
"description": "Shared client default folders",
"for_existing": true
}
]
}