Get project document settings
Returns document settings for a specific project including current values and inherited defaults from organization/workspace hierarchy.
What are Project Document Settings? Project document settings control formatting options and contact information for automatically generated documents such as proposals, contracts, requirement specifications, and other project documents. These settings can override organization/workspace defaults on a per-project basis, allowing you to customize document appearance and structure for specific projects.
Settings Overview:
- Title Page: Controls whether generated documents include a title page
- Table of Contents: Determines if an automatically generated table of contents is embedded (especially helpful for long documents)
- Heading Style: Controls the numbering and formatting of headings (Normal, Sequential, SequentialFromSecondLevel, SequentialWithParagraphs)
- Default Contact Person: Sets the contact person automatically when creating new documents (useful for recurring offer processes and automated preambles)
Inheritance System: Settings support a three-level inheritance hierarchy:
- Project-level settings: Project-specific overrides (null = inherit from organization)
- Organization-level defaults: Organization-specific defaults (null = inherit from workspace)
- Workspace-level defaults: Global workspace defaults
The response includes both current project values and the inherited defaults from the organization/workspace hierarchy. Null values in current settings indicate that the project inherits from organization/workspace defaults. The “*Default” fields show what values are inherited when project settings are null.
/projects/{id}/document-settingsAuthorizationOAuth2 access token · headerrequiredapi:readAuthorizationBearer token (JWT) · headerrequiredidstringrequiredidstringrequiredprojectDocumentDefaultContactUserIdobject | nullrequiredprojectDocumentDefaultContactUserIdDefaultobject | nullrequiredprojectDocumentEnableTocobject | nullrequiredprojectDocumentEnableTocDefaultbooleanrequiredprojectDocumentHeadingStylestring | nullrequiredNormalSequentialSequentialFromSecondLevelSequentialWithParagraphsprojectDocumentHeadingStyleDefaultstringrequiredNormalSequentialSequentialFromSecondLevelSequentialWithParagraphsprojectDocumentTitlePageobject | nullrequiredprojectDocumentTitlePageDefaultbooleanrequiredcurl -X GET "https://leadtime.app/api/public/projects/string/document-settings" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("https://leadtime.app/api/public/projects/string/document-settings", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.get(
"https://leadtime.app/api/public/projects/string/document-settings",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
){
"id": "550e8400-e29b-41d4-a716-446655440000",
"projectDocumentDefaultContactUserId": "550e8400-e29b-41d4-a716-446655440001",
"projectDocumentDefaultContactUserIdDefault": "550e8400-e29b-41d4-a716-446655440002",
"projectDocumentEnableToc": true,
"projectDocumentEnableTocDefault": false,
"projectDocumentHeadingStyle": "Sequential",
"projectDocumentHeadingStyleDefault": "Normal",
"projectDocumentTitlePage": true,
"projectDocumentTitlePageDefault": true
}