Skip to content
Leadtime
English
Esc
↑↓navigate↵open⌘Jpreview

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/activities
Authorization
AuthorizationOAuth2 access token · headerrequired
Scopes:api:read
or
AuthorizationBearer token (JWT) · headerrequired
Responses
200

Work activities retrieved successfully

Array of WorkActivityResponseDto
idstringrequired

Work activity ID

namestringrequired

Default work activity name (used as fallback when no translation exists for user's language)

sortnumberrequired

Sort order

translationsWorkActivityTranslationDto[]required

Language-specific translations for activity name. Overrides the default name when user's language matches.

Show properties
Array of WorkActivityTranslationDto
languagestringrequired

Language code following ISO 639-1 format (e.g., "en", "de", "fr")

namestringrequired

Translated name for this language. Overrides the default name when user's language matches.

401

Unauthorized - Invalid or missing authentication token

403

Forbidden - Insufficient API scopes or permissions

Try it
Server
Authorization
Request
curl -X GET "https://leadtime.app/api/public/administration/task-settings/activities" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Response
[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "Development",
    "sort": 1,
    "translations": [
      {
        "language": "en",
        "name": "Development"
      }
    ]
  }
]