Quick search across workspace entities
Performs a unified search across multiple workspace entity types in a single query. This endpoint searches through tasks, projects, employees, organizations, organization members, teams, contacts, and the workspace itself. The search matches the query term against entity names, titles, and other searchable fields. Results are automatically filtered based on user permissions and workspace scoping, ensuring users only see entities they have access to. Each result includes the entity type, title, metadata (including ID), color, icon, and short name (if applicable). This endpoint is commonly used for command palettes, global search functionality, and entity pickers that need to search across multiple types. The search is case-insensitive and performs partial matching on entity names and titles.
/workspace/quick-searchAuthorizationOAuth2 access token · headerrequiredapi:readAuthorizationBearer token (JWT) · headerrequiredtermstringrequiredQuickSearchResultDtocolorstringiconobject | nullmetaobjectrequiredshortNameobject | nulltitlestringrequiredtypestringrequiredemployeeorganizationorganizationMemberworkspaceprojecttaskteamcontactcurl -X GET "https://leadtime.app/api/public/workspace/quick-search?term=project" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("https://leadtime.app/api/public/workspace/quick-search?term=project", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.get(
"https://leadtime.app/api/public/workspace/quick-search?term=project",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
)[
{
"color": "#ff0000",
"icon": "faSquare",
"meta": {
"id": "uuid",
"organizationId": "uuid",
"projectId": "uuid"
},
"shortName": "ORG-001",
"title": "Project Alpha",
"type": "project"
}
]