Get all custom default folders

GET /api/v1/custom-default-folder

Query parameters

  • Filter by a comma separated list of UUIDs.

  • Filter by model type. Valid types are [client, case, plan]

  • 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'.

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
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": "7355e7b4-2610-41be-aa3a-2312340943a7",
      "model": "client",
      "case_type": {
        "name": "Mortgage Plan",
        "uuid": "e2fc1261-1dae-41b8-a2ff-1d8ae97ab52d",
        "created_at": "2024-10-16T11:10:17+01:00",
        "updated_at": "2024-10-16T11:10:17+01:00"
      },
      "is_active": true,
      "parameter": "client",
      "structure": [
        {
          "name": "Documents",
          "children": [
            {
              "name": "Contracts",
              "children": []
            },
            {
              "name": "Emails",
              "children": []
            }
          ]
        },
        {
          "name": "Notes",
          "children": []
        }
      ],
      "created_at": "2024-10-16T11:10:17+01:00",
      "updated_at": "2024-10-16T11:10:17+01:00",
      "description": "Shared client default folders",
      "for_existing": true
    }
  ]
}