---
title: "Service: /members/{member}/groups/{group}/groupfolders/forpath [GET]"
source: https://dev.pageseeder.com/api/services/groupfolder-forpath_get.html
description: "Retrieves group folder information and sharing details for a specified path. Returns folder metadata including sharing permissions across groups, accessible to users with guest or higher privileges."
last_updated: 2026-09-08T11:46:56+10:00
document_type: api_endpoint
operation_id: groupfolder-GET
resource_id: groupfolder
path_template: /members/{member}/groups/{group}/groupfolders/forpath
http_method: GET
api_category: groupfolder
implementation_version: 6.2004
api_since: 5.9400
deprecated_since: null
obsolete_since: null
api_support: supported
cache_control: null
generated_at: 2026-09-02
tokens: ~641
---

# /members/\{member\}/groups/\{group\}/groupfolders/forpath \[GET\]

## Description

This services returns the [group folder](../../reference/glossary/group_folder.md) information including sharing information for a given path.

> **Note:** The `{group}` in the service URL must be the owner group.

## Parameters

| Name | Description | Required | Type | Default |
| --- | --- | --- | --- | --- |
| path | The full group folder path beginning with / (/\* suffix is added automatically) e.g. `/ps/acme/specs/shared` | yes | path |  |

## Permission

Requires guest or higher, unless group is accessible to public.

## Response

If successful, the group folder is returned as a `<groupfolder>` element.

The `hidden` attribute/property is specified to indicate how many groups are not listed when there are groups that the group folder is shared to but that the user does not have permission to view.

```xml
<groupfolder id="[groupuri id]"
             scheme="[scheme]"
             host="[host]"
             port="[port]"
             path="[path]"
             external="[true|false]"
             public="[true|false]"
             [sharing="[private|shared]"]>
  <sharing hidden="2">
    <share editable="true" 
           shareedits="true" 
           sharexrefs="true" 
           addcomments="true" 
           owner="true">
      <group name="my-group1" .../>
    </share>
    <share editable="true" 
           shareedits="true" 
           sharexrefs="true" 
           addcomments="false">
      <group name="my-group2" .../>
    </share>
    <share editable="false" 
           addcomments="true">
      <group name="my-group3" .../>
    </share>
  </sharing>
</groupfolder>
```

Or in JSON

```json
{ 
  "id": number,
  "scheme": string,
  "host": string,
  "port": number,
  "path": string,
  "external": boolean,
  "public": boolean,
  "sharing": {
    "status": string,
    "share":[
      {
        "owner": boolean,
        "editable": boolean,
        "addcomments": boolean,
        "shareedits": boolean,
        "sharexrefs": boolean,
        "group": group
      }
    ]
  }
}
```

> **Warning:** Up to PageSeeder v6.0005, the `external` JSON property was incorrectly written as a string `"external":"false"` instead of `"external":false`. The `sharing` JSON property was also declared twice.

## Error Handling

| Code | Cause / Description |
| --- | --- |
| 0x1404 | If the group folder is not found |
| 0x1405 | If the group folder is not in group |
| 0x140B | Invalid path |
| 0x6401 | There is no default group folder for the group |

