Get work activities
Retrieves all work activities configured for the workspace.
What are work activities? Work activities categorize the type of work performed on tasks for time tracking purposes. They help track what kind of work was done (e.g., Development, Testing, Management, Design).
How they are used:
- When users log time on tasks, they select a work activity
- Activities are assigned to specific task types
- Time logs are categorized by activity for reporting and analysis
What is returned: An array of work activity objects, each containing:
- Activity ID and name
- Sort order for display
- Multilingual translations for activity name
Default activities: Leadtime comes with default activities like Development, Management, Design, and Testing. You can add company-specific activities to better match your workflows.
GET
/administration/task-settings/activitiesAuthorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:reador
AuthorizationBearer token (JWT) · headerrequiredResponses
200Work activities retrieved successfully
Array of
WorkActivityResponseDtoidstringrequiredWork activity ID
namestringrequiredDefault work activity name (used as fallback when no translation exists for user's language)
sortnumberrequiredSort order
translationsWorkActivityTranslationDto[]requiredLanguage-specific translations for activity name. Overrides the default name when user's language matches.
Show propertiesHide properties
Array of
WorkActivityTranslationDtolanguagestringrequiredLanguage code following ISO 639-1 format (e.g., "en", "de", "fr")
namestringrequiredTranslated name for this language. Overrides the default name when user's language matches.
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
Request
curl -X GET "https://leadtime.app/api/public/administration/task-settings/activities" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("https://leadtime.app/api/public/administration/task-settings/activities", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.get(
"https://leadtime.app/api/public/administration/task-settings/activities",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
)Response
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Development",
"sort": 1,
"translations": [
{
"language": "en",
"name": "Development"
}
]
}
]Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions