Get project guest access settings
Returns the master guest-access switch and documentation publication override for one project.
Effective documentation mode is the project override when set, otherwise the organization default. Hidden is the secure default. This setting filters what organization members can read. It does not grant project access or documentation-management permission.
GET
/projects/{id}/guest-accessAuthorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:reador
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idstringrequiredResponses
200
effectiveGuestDocumentationVisibilitystringrequiredResolved mode: project override if set, otherwise the organization default.
Allowed:
HiddenAllPagesSelectedPageseffectiveSourcestringrequiredWhether the effective mode comes from this project or the organization.
Allowed:
projectorganizationguestAccessbooleanrequiredMaster switch for organization-member access to this project. When false, members cannot open the project. Documentation visibility can still be prepared.
guestDocumentationVisibilitystring | nullrequiredProject override for guest documentation publication. Null inherits the organization default.
Allowed:
HiddenAllPagesSelectedPagesidstring<uuid>requiredorganizationGuestDocumentationVisibilitystringrequiredOrganization default used when the project override is null.
Allowed:
HiddenAllPagesSelectedPages401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
Request
curl -X GET "https://leadtime.app/api/public/projects/string/guest-access" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("https://leadtime.app/api/public/projects/string/guest-access", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.get(
"https://leadtime.app/api/public/projects/string/guest-access",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
)Response
{
"effectiveGuestDocumentationVisibility": "Hidden",
"effectiveSource": "project",
"guestAccess": true,
"guestDocumentationVisibility": "Hidden",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"organizationGuestDocumentationVisibility": "Hidden"
}Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions