# Employee Recent Visits {#employee-recent-visits}


Track recently accessed entities for quick navigation.


## Overview {#overview}


The recent visits feature automatically tracks which entities (tasks, projects, employees) a user visits most frequently, providing quick-access shortcuts.


## How It Works {#how-it-works}


1. When a user views a task, project, or employee detail page
2. The visit is recorded via the API
3. Recent visits appear in the quick access panel


## API {#api}


```
GET    /api/employee-recent-visit             # List recent visits
POST   /api/employee-recent-visit             # Record visit
DELETE /api/employee-recent-visit/:id         # Delete visit
```


### Record a Visit {#record-a-visit}


```json
POST /api/employee-recent-visit
{
  "entityId": "task-uuid",
  "entityType": "Task"
}
```


## Entity Types {#entity-types}


| Type                  | Description       |
| --------------------- | ----------------- |
| `Task`                | Task detail views |
| `OrganizationProject` | Project views     |
| `Employee`            | Employee profiles |
| `Contact`             | CRM contacts      |
| `Invoice`             | Invoice details   |


## UI Integration {#ui-integration}


Recent visits are displayed in the sidebar or quick access panel, sorted by most recent.


## Related Pages {#related-pages}


- [Employee Sub-Resource Endpoints](https://sourcey-gauzy.pages.dev/api/employee-sub-resource-endpoints/index.md) — API
- [Favorites](https://sourcey-gauzy.pages.dev/features/favorites/index.md) — bookmarked entities
- [Custom Views](https://sourcey-gauzy.pages.dev/features/custom-views/index.md) — saved views
