Get workspace details
Returns comprehensive information about the current workspace, including branding settings, features, and configuration. The workspace is the top-level organizational unit in Leadtime that contains all users, projects, tasks, and other entities. This endpoint provides essential workspace metadata such as company name, domain, enabled features, appearance settings (colors, logos), custom icons, sprint configuration, and billing status. User-specific data is excluded from this response and is available via the /users/me endpoint. The attendanceEnabled field is only true if attendance tracking is enabled for the workspace AND the current user is an Employee type. The isBillingLocked field indicates whether the workspace is locked due to past due billing status.
/workspace/detailsAuthorizationOAuth2 access token · headerrequiredapi:readAuthorizationBearer token (JWT) · headerrequiredattendanceEnabledbooleanrequiredbrandingobjectrequiredcompanyNamestringrequiredcustomIconsstring[]requireddomainstringrequiredfeaturesstring[]requiredidstringrequiredisBillingLockedbooleanrequiredisHelpdeskEnabledbooleanrequiredlogoDarkThemeUrlobject | nullrequiredlogoUrlobject | nullrequiredmainWorkspaceColorstringrequiredDEFAULTBLACKREDROSEMAGENTAGREENBLUEYELLOWVIOLETsprintPeriodDaysnumberrequiredsprintStartDaynumberrequiredworkspaceLanguagestringrequiredcurl -X GET "https://leadtime.app/api/public/workspace/details" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("https://leadtime.app/api/public/workspace/details", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.get(
"https://leadtime.app/api/public/workspace/details",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
){
"attendanceEnabled": false,
"branding": {},
"companyName": "Acme Corp",
"customIcons": [
"string"
],
"domain": "company-domain",
"features": [
"HELPDESK"
],
"id": "workspace_456",
"isBillingLocked": false,
"isHelpdeskEnabled": true,
"logoDarkThemeUrl": "https://app.example.com/api/files/public/logo_dark_456",
"logoUrl": "https://app.example.com/api/files/public/logo_123",
"mainWorkspaceColor": "DEFAULT",
"sprintPeriodDays": 14,
"sprintStartDay": 1,
"workspaceLanguage": "en"
}