Toggle favorite on/off
Toggles a favorite for a specific entity (task, project, organization, or command). If the entity is currently favorited, it will be removed from favorites. If it is not favorited, it will be added to favorites.
Entity Types:
Project: Favorite a projectTask: Favorite a taskOrganization: Favorite an organizationCommand: Favorite a command (for command palette)
Favorites are user-specific and workspace-scoped. Each user maintains their own list of favorites. When adding a new favorite, it is automatically appended to the end of the favorites list. The response indicates whether the entity is now favorited (isFavorite: true) or not (isFavorite: false).
/account/favorites/toggleAuthorizationOAuth2 access token · headerrequiredapi:writeAuthorizationBearer token (JWT) · headerrequiredfieldsToReturnstringComma-separated list of top-level response fields to return. Overrides the endpoint compact default unless responseShape=full is used.
responseShapestringAdvanced override. Omit for the endpoint compact default. Use full only when you need the complete endpoint response, including nested fields that are not selectable with fieldsToReturn.
compactfullLT-Response-ShapestringAdvanced override. Set to full only when you need the complete endpoint response, including nested fields that are not selectable with fieldsToReturn.
fullapplication/jsonentityIdstringrequiredThe unique identifier (UUID) of the entity to favorite or unfavorite. This is the ID of the task, project, organization, or command you want to toggle.
entityTypestringrequiredThe type of entity being favorited. Determines which entity table to check and what metadata to return. Valid values: Project, Task, Organization, Command.
ProjectTaskOrganizationCommandFavorite status toggled successfully
isFavoritebooleanrequiredWhether the entity is now favorited after the toggle operation. True means the entity was added to favorites, false means it was removed.
Invalid entity ID or entity type
Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions