Skip to content
Leadtime
English
Esc
navigateopen⌘Jpreview

Get list of favorites

Returns all favorites for the authenticated user, sorted by custom sort order (if set) or creation date. Each favorite includes entity-specific metadata:

Task favorites: Include shortNumber and title Project favorites: Include shortNumber, shortName (e.g., “ORG-123”), and name Organization favorites: Include shortName and name Command favorites: Include id and name

Deleted entities are automatically excluded from the results. The favorites list is user-specific and workspace-scoped. Use the toggle endpoint to add or remove favorites.

GET/account/favorites
Authorization
AuthorizationOAuth2 access token · headerrequired
Scopes:api:read
or
AuthorizationBearer token (JWT) · headerrequired
Responses
200Favorites list retrieved successfully
favoritesobject[][]required
Array of all favorites for the authenticated user, sorted by custom sort order (if set) or creation date. Each favorite includes entity-specific metadata. Deleted entities are automatically excluded from the results.
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
Request
curl -X GET "https://leadtime.app/api/public/account/favorites" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Response
{
  "favorites": [
    [
      {}
    ]
  ]
}