---
title: "List Project Shares"
method: GET
path: "/projects/{project_id}/shares"
tags: ["Projects"]
---

# List Project Shares

`GET /projects/{project_id}/shares`

## Request

- Base URL: `https://api.aspect.inc`
- URL: `https://api.aspect.inc/projects/{project_id}/shares`
- Auth: API key in header `Authorization`

List all shares for resources within a project (requires FULL_ACCESS on project)

## Path parameters

- `project_id` string, uuid, required

## Response `200`

Successful Response

- ProjectShareListResponse: API response schema for listing shares within a project
  - `shares` ProjectShareResponse[], required: List of shares in the project
    - `id` string, uuid, required: Share ID (used in URLs)
    - `resource_id` string, uuid, required: Resource being shared
    - `resource_type` 'workspace' | 'project' | 'directory' | 'asset' | 'symlink' | 'collection' | 'canvas', required: Types of resources in the hierarchy.
    - `resource_name` string, required: Name of the resource
    - `created_by_user_id` string, uuid, nullable: User who created the share. Null when that account has been deleted
    - `name` string, nullable: Share name
    - `actions` integer, required: Allowed actions bitmap
    - `has_password` boolean, required: Whether share is password protected
    - `expires_at` string, date-time, nullable: Expiration timestamp
    - `is_active` boolean, required: Whether the share is active
    - `watermark_id` string, uuid, nullable: Watermark configuration applied to share viewers
    - `visible_metadata_attribute_ids` string[], nullable: Metadata attribute IDs share users can see
    - `created` string, date-time, required: Creation timestamp
    - `updated` string, date-time, required: Last update timestamp
  - `total` integer, required: Total number of shares in the project

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/aspect/apis/aspect-api.md) - [All operations](https://skmtc.dev/aspect/apis/aspect-api/llms.txt) - [OpenAPI document](https://skmtc.dev/aspect/apis/aspect-api/revisions/28ea5f1adb54?raw)
