Access and sharing
Public or private projects, share links, passwords and people.
On this page
- GET /v1/projects/{project}/access
- PUT /v1/projects/{project}/access
- POST /v1/projects/{project}/access/link
- DELETE /v1/projects/{project}/access/link
- PUT /v1/projects/{project}/access/password
- DELETE /v1/projects/{project}/access/password
- POST /v1/projects/{project}/access/people
- DELETE /v1/projects/{project}/access/people/{share}
Concepts: Domains and sharing
Endpoint summaries come from the OpenAPI document.
GET/v1/projects/{project}/access
Who can open the project: public or private, share link, password, people and pending access requests
- Operation (MCP tool)
getProjectAccess- Authentication
- API key (pfa_…)OAuth token (pfo_…)
Parameters
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.
PUT/v1/projects/{project}/access
Make the project public or private (needs share.manage and a full-access key; agents can't change access)
- Operation (MCP tool)
setProjectAccess- Authentication
- API key (pfa_…)OAuth token (pfo_…)
Parameters
Request body
application/jsonobjectRequired
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.
POST/v1/projects/{project}/access/link
Create a share link (the URL is returned once; it replaces the previous link)
- Operation (MCP tool)
createShareLink- Authentication
- API key (pfa_…)OAuth token (pfo_…)
Parameters
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.
DELETE/v1/projects/{project}/access/link
Turn off the share link
- Operation (MCP tool)
revokeShareLink- Authentication
- API key (pfa_…)OAuth token (pfo_…)
Parameters
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.
PUT/v1/projects/{project}/access/password
Set the visitor password (8–72 characters)
- Operation (MCP tool)
setSharePassword- Authentication
- API key (pfa_…)OAuth token (pfo_…)
Parameters
Request body
application/jsonobjectRequired
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.
DELETE/v1/projects/{project}/access/password
Remove the visitor password
- Operation (MCP tool)
clearSharePassword- Authentication
- API key (pfa_…)OAuth token (pfo_…)
Parameters
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.
POST/v1/projects/{project}/access/people
Share the project with a person by email (they sign in to Perafly with that address)
- Operation (MCP tool)
addProjectShare- Authentication
- API key (pfa_…)OAuth token (pfo_…)
Parameters
Request body
application/jsonobjectRequired
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.
DELETE/v1/projects/{project}/access/people/{share}
Stop sharing with a person
- Operation (MCP tool)
removeProjectShare- Authentication
- API key (pfa_…)OAuth token (pfo_…)
Parameters
Responses
Related error codes
Error codes this endpoint and its part of the API answer with. Each one explains what happened and what to do.