# Calendar API

The Calendar API is responsible for managing calendar events, including creating, updating, deleting, and retrieving events. It provides endpoints for users to interact with their calendar data and integrates with other services to ensure seamless calendar management.

Version: 1.0

## Servers

Development server
```
https://k8s-exp-api-dev.hunty.cloud
```

Production server
```
https://k8s-exp-api-stg.hunty.cloud
```

## Security

### bearer

Type: http
Scheme: bearer
Bearer Format: JWT

### x-auth-api-key

Type: apiKey
In: header
Name: x-auth-api-key

## Download OpenAPI description

 - [Calendar API](https://docs.hunty.cloud/_bundle/apis/calendar/index.yaml)

## Calendar

 - [GET /companies/calendars/resources/{resourceId}/company/{companyId}/blocks](https://docs.hunty.cloud/apis/calendar/calendar/calendarcontroller_getcalendarblocksbyresourceid.md): Returns all calendar blocks associated with a specific resource and company. Optionally filters by disabled status.
 - [POST /companies/calendars/company/{companyId}/blocks](https://docs.hunty.cloud/apis/calendar/calendar/calendarcontroller_createcalendarblocks.md): Creates one or more calendar blocks with their time slots for a company resource.
 - [POST /companies/calendars/company/{companyId}/blocks/slots/delete](https://docs.hunty.cloud/apis/calendar/calendar/calendarcontroller_deleteslotsbulk.md): Deletes multiple calendar slots at once. Uses POST to support a request body with the list of slot identifiers.
 - [PATCH /companies/calendars/company/{companyId}/blocks/{calendarBlockId}/slots/{slotId}](https://docs.hunty.cloud/apis/calendar/calendar/calendarcontroller_updateslot.md): Updates the details of a specific slot within a calendar block, such as its availability or assigned resource.
 - [GET /companies/calendars/company/{companyId}/blocks/consumer/{consumerId}](https://docs.hunty.cloud/apis/calendar/calendar/calendarcontroller_getcalendarblocksbyconsumerid.md): Returns all calendar blocks assigned to a specific consumer (interviewer) within a company.
