> ## Documentation Index
> Fetch the complete documentation index at: https://docs.claap.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get folder access

> Get who has access to a folder: the users and user groups given access, the pending invites of emails, and the member and public link permissions.

Lists who has access to a folder: the users given access directly with their permission, the [user groups](https://docs.claap.io/api-reference/endpoint/list_user_groups.md) given access, the pending invites of emails that are not workspace users yet, and the member and public link permissions. A user can also have access through the member permission or through a group. Claap onboarding (demo) and support users are not listed.

API keys without access to private recordings cannot access folders whose `memberPermission` is `NoAccess`: they are reported as not found.


## OpenAPI

````yaml GET /v1/folders/{folderId}/access
openapi: 3.1.0
info:
  title: Claap API
  description: Development documentation
  version: 0.0.0
servers:
  - url: https://api.claap.io/
security:
  - ApiKey: []
paths:
  /v1/folders/{folderId}/access:
    get:
      description: >-
        Get who has access to a folder: the users and user groups given access,
        the pending invites of emails, and the member and public link
        permissions.
      operationId: getV1FoldersByFolderIdAccess
      parameters:
        - in: path
          name: folderId
          schema:
            type: string
            description: Folder identifier
          required: true
      responses:
        '200':
          description: Folder access was successfully retrieved
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    $ref: '#/components/schemas/ApiFolderAccess'
                required:
                  - result
        '404':
          description: >-
            Folder was not found. Note that API keys without access to private
            recordings cannot access folders whose `memberPermission` is
            `NoAccess`, which are reported as not found.
components:
  schemas:
    ApiFolderAccess:
      type: object
      properties:
        users:
          type: array
          description: >-
            Users given access directly, sorted by email. Claap onboarding
            (demo) and support users are not listed.
          items:
            type: object
            properties:
              userId:
                type: string
                description: >-
                  User identifier, as the `id` returned by the list users
                  endpoint.
              email:
                type: string
                description: User email.
              role:
                type: string
                enum:
                  - Owner
                  - Admin
                  - Member
                  - Guest
                  - None
                description: User role in the workspace.
              permission:
                type: string
                enum:
                  - CanView
                  - CanComment
                  - FullAccess
                description: Permission of the user on the folder.
            required:
              - userId
              - email
              - role
              - permission
        userGroups:
          type: array
          description: >-
            User groups given access, sorted by name. A group gives nothing to
            its guests.
          items:
            type: object
            properties:
              userGroupId:
                type: string
                description: User group identifier.
              name:
                type: string
                description: User group name.
              permission:
                type: string
                enum:
                  - CanView
                  - CanComment
                  - FullAccess
                description: Permission of the members of the group on the folder.
            required:
              - userGroupId
              - name
              - permission
        invites:
          type: array
          description: >-
            Pending invites of emails that are not workspace users yet, sorted
            by email.
          items:
            type: object
            properties:
              email:
                type: string
                description: Invited email.
              role:
                type: string
                enum:
                  - Owner
                  - Admin
                  - Member
                  - Guest
                  - None
                description: Role the person gets once they join the workspace.
            required:
              - email
              - role
        memberPermission:
          type: string
          enum:
            - NoAccess
            - CanView
            - CanComment
            - FullAccess
          description: >-
            Permission of workspace members on the folder. `NoAccess` means only
            invited users and user groups can access it.
          example: FullAccess
        publicPermission:
          type: string
          enum:
            - NoAccess
            - CanView
            - CanComment
          description: >-
            Public link of the folder. `NoAccess` means it is off. `CanComment`
            means anyone with the link can open the folder without signing up.
            `CanView` can still be returned for older folders, but can no longer
            be set.
          example: NoAccess
      required:
        - users
        - userGroups
        - invites
        - memberPermission
        - publicPermission
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: X-Claap-Key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.