Get a custom default folder

GET /api/v1/custom-default-folder/{customDefaultFolder_uuid}

Responses

  • 201 application/json
    Hide response attributes Show response attributes object
    • uuid string

      The UUID of the resource.

    • The timestamp of when the resource was created.

    • The timestamp of when the resource was updated.

    • The description of the custom default folders structure.

    • model string

      The model the default folders structure is for.

    • The parameter the default folders structure is for.

    • The case type object when model is "case" and the parameter is a valid case type UUID.

      Additional properties are allowed.

    • structure array[object]

      The default folders structure.

      Additional properties are allowed.

    • is_active boolean

      Whether the default folders structure is active.

    • Whether the default folders structure is for existing clients.

GET /api/v1/custom-default-folder/{customDefaultFolder_uuid}
curl \
 -X GET https://api.plannrcrm.com/api/v1/custom-default-folder/customDefaultFolder_uuid \
 -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 (201)
{
  "uuid": "fef8f561-39eb-49f0-bf44-9b1471e30dd7",
  "model": "client",
  "case_type": {
    "name": "Mortgage Plan",
    "uuid": "a52f088e-d480-40f9-908d-373af63449c6",
    "created_at": "2024-11-20T13:24:04+00:00",
    "updated_at": "2024-11-20T13:24:04+00:00"
  },
  "is_active": true,
  "parameter": "client",
  "structure": [
    {
      "name": "Documents",
      "children": [
        {
          "name": "Contracts",
          "children": []
        },
        {
          "name": "Emails",
          "children": []
        }
      ]
    },
    {
      "name": "Notes",
      "children": []
    }
  ],
  "created_at": "2024-11-20T13:24:04+00:00",
  "updated_at": "2024-11-20T13:24:04+00:00",
  "description": "Shared client default folders",
  "for_existing": true
}