# Event Type Endpoints {#event-type-endpoints}


Manage event types for employee appointment scheduling.


## Base Path {#base-path}


```
/api/event-type
```


## Endpoints {#endpoints}



### List Event Types {#list-event-types}


```
GET /api/event-type
Authorization: Bearer {token}
```

**Response:**

```json
{
  "items": [
    {
      "id": "uuid",
      "title": "30-Minute Meeting",
      "description": "Quick sync meeting",
      "durationUnit": "Minute(s)",
      "duration": 30,
      "isActive": true,
      "employeeId": "uuid"
    }
  ],
  "total": 5
}
```


### Create Event Type {#create-event-type}


```
POST /api/event-type
Authorization: Bearer {token}
```

```json
{
  "title": "1-Hour Consultation",
  "description": "Detailed consultation session",
  "durationUnit": "Minute(s)",
  "duration": 60,
  "isActive": true
}
```


### Update Event Type {#update-event-type}


```
PUT /api/event-type/:id
Authorization: Bearer {token}
```


### Delete Event Type {#delete-event-type}


```
DELETE /api/event-type/:id
Authorization: Bearer {token}
```


## Duration Units {#duration-units}


| Unit        | Description |
| ----------- | ----------- |
| `Minute(s)` | Minutes     |
| `Hour(s)`   | Hours       |
| `Day(s)`    | Days        |


## Related Pages {#related-pages}


- [Event Scheduling](https://sourcey-gauzy.pages.dev/features/event-scheduling/index.md) — scheduling feature
- [Employee Availability](https://sourcey-gauzy.pages.dev/features/employee-availability/index.md) — availability
- [Google Calendar](https://sourcey-gauzy.pages.dev/integrations/google-calendar-integration/index.md) — calendar sync
