---
title: "POST create-share-link"
method: POST
path: "create-share-link"
---

# POST create-share-link

`POST create-share-link`

## Request

- Base URL: `https://design.penpot.app/api/main/methods`
- URL: `https://design.penpot.app/api/main/methods/create-share-link`
- Auth: none declared

Creates a share-link object.

Share links are resources that allows external users access to specific
pages of a file with specific permissions (who-comment and who-inspect).

## Request body

- object
  - `fileId` string, uuid, required: UUID formatted string
  - `whoComment` string, required
  - `whoInspect` string, required
  - `pages` Uuid[], required

---

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