Favorite Endpoints
Manage user favorites β bookmark entities (tasks, projects, contacts) for quick access.
Base Pathβ
/api/favorite
Endpointsβ
List Favoritesβ
GET /api/favorite
Authorization: Bearer {token}
Add to Favoritesβ
POST /api/favorite
Authorization: Bearer {token}
Content-Type: application/json
{
"entity": "OrganizationProject",
"entityId": "project-uuid",
"organizationId": "uuid"
}
Remove from Favoritesβ
DELETE /api/favorite/:id
Authorization: Bearer {token}
Supported Entitiesβ
| Entity Type | Description |
|---|---|
Task | Tasks |
OrganizationProject | Projects |
OrganizationContact | CRM contacts |
OrganizationTeam | Teams |
Employee | Employees |
Data Modelβ
interface IFavorite {
id: string;
entity: string;
entityId: string;
employeeId: string;
organizationId: string;
tenantId: string;
}
Related Pagesβ
- Favorites Feature β feature guide