---
descriptions:
  list_resources_for_membership:
    organization_membership_id: The ID of the organization membership.
    permission_slug: >-
      The permission slug to filter by. Only resources where the user has this
      permission are returned.
    parent_resource_id: >-
      The ID of the parent resource. Use either this or
      parent_resource_external_id + parent_resource_type_slug.
    parent_resource_external_id: >-
      The external ID of the parent resource. Requires
      parent_resource_type_slug.
    parent_resource_type_slug: >-
      The resource type slug of the parent. Required with
      parent_resource_external_id.
    limit: 'Maximum number of records to return (default 10, max 100).'
    before: Cursor for pagination (before).
    after: Cursor for pagination (after).
    order: Sort order (asc or desc).
    data: >-
      Array of [Resource](/reference/fga/resource) objects where the user has
      the permission.
reference:
  curl:
    - key: list_resources_for_membership
      id: list_resources_for_membership
      url: /reference/fga/access-check/list-resources
      title: >-
        /authorization/organization_memberships/:organization_membership_id/resources
      type: GET
      parameters:
        - key: organization_membership_id
          type: string
          description: (list_resources_for_membership.organization_membership_id)
        - key: permission_slug
          type: string
          description: (list_resources_for_membership.permission_slug)
        - key: parent_resource_id
          type: string
          optional: true
          description: (list_resources_for_membership.parent_resource_id)
        - key: parent_resource_external_id
          type: string
          optional: true
          description: (list_resources_for_membership.parent_resource_external_id)
        - key: parent_resource_type_slug
          type: string
          optional: true
          description: (list_resources_for_membership.parent_resource_type_slug)
        - key: limit
          type: number
          optional: true
          description: (list_resources_for_membership.limit)
        - key: before
          type: string
          optional: true
          description: (list_resources_for_membership.before)
        - key: after
          type: string
          optional: true
          description: (list_resources_for_membership.after)
        - key: order
          type: '"asc" | "desc"'
          optional: true
          description: (list_resources_for_membership.order)
      returns:
        - key: anonymous
          type: object
          unwrap: true
          properties:
            - key: data
              type: array
              description: (list_resources_for_membership.data)
            - key: list_metadata
              type: object
              properties:
                - key: before
                  type: string | null
                - key: after
                  type: string | null
  js:
    - key: listResourcesForMembership
      id: list_resources_for_membership
      url: /reference/fga/access-check/list-resources
      title: authorization.listResourcesForMembership()
      parameters:
        - key: options
          type: object
          unwrap: true
          properties:
            - key: organizationMembershipId
              type: string
              description: (list_resources_for_membership.organization_membership_id)
            - key: permissionSlug
              type: string
              description: (list_resources_for_membership.permission_slug)
            - key: parentResourceId
              type: string
              optional: true
              description: (list_resources_for_membership.parent_resource_id)
            - key: parentResourceTypeSlug
              type: string
              optional: true
              description: (list_resources_for_membership.parent_resource_type_slug)
            - key: parentResourceExternalId
              type: string
              optional: true
              description: (list_resources_for_membership.parent_resource_external_id)
            - key: limit
              type: number
              optional: true
              description: (list_resources_for_membership.limit)
            - key: before
              type: string
              optional: true
              description: (list_resources_for_membership.before)
            - key: after
              type: string
              optional: true
              description: (list_resources_for_membership.after)
            - key: order
              type: '"asc" | "desc"'
              optional: true
              description: (list_resources_for_membership.order)
      returns:
        - key: anonymous
          type: object
          unwrap: true
          properties:
            - key: data
              type: 'AuthorizationResource[]'
              description: (list_resources_for_membership.data)
            - key: listMetadata
              type: ListMetadata
originalPath: >-
  .tmp-workos-clone/packages/docs/content/reference/fga/access-check/list-resources.mdx
---

## List resources for an organization membership

Returns all child resources of a parent resource where the organization membership has a specific permission. This is useful for resource discovery—answering "What projects can this user access in this workspace?"

You must provide either `parent_resource_id` or both `parent_resource_external_id` and `parent_resource_type_slug` to identify the parent resource.

<CodeBlock referenceId="list_resources_for_membership">
  <CodeBlockTab title="Request" file="list-resources-for-membership-request" />
  <CodeBlockTab
    title="Response"
    file="list-resources-for-membership-response"
  />
</CodeBlock>
