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

# Share a Project

> Share the project with other users by updating the project's visibility settings.

### Introduction

The `POST /api/clip-projects/{projectId}/update-visibility` endpoint allows you to share a project with other users by updating the project's visibility settings.
You can set the visibility of the project to `PUBLIC` to allow any users to view, edit and export the project.

### Request Parameters

* `projectId` (required): The unique identifier of the project.

### Request Body

* `visibility` (required): The visibility setting for the project. Must be one of `DEFAULT` or `PUBLIC`.

### Example

```bash theme={"dark"}
curl --request POST \
  --url https://api.opus.pro/api/clip-projects/<PROJECT_ID>/update-visibility \
  --header 'Authorization: <API_KEY>' \
  --header 'Content-Type: application/json' \
  --data '{
  "visibility": "PUBLIC"
}'
```

> [!TIP]
>
> Ensure you replace `API_KEY` and `PROJECT_ID` with your actual values.

### Playground

> [card] [Generate Code Snippet](https://help.opus.pro/api-reference/playground/share-project.md)
>
> Use this code generator to easily create code snippets.

### Response Schema

> [card] [API Response Schema](https://help.opus.pro/api-reference/schemas/project-representation)
>
> For more details of response, please refer to the API response schema.


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