---
title: "Get available timezones for booking"
description: "Retrieve list of supported IANA timezones for appointment booking. Requires authentication."
---

> Documentation Index
> Fetch the complete documentation index at: https://developer.channelautomations.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Channel Automation API › Calendar

`GET /api/calendar/timezones`

Retrieve list of supported IANA timezones for appointment booking. Requires authentication.

## Authentication

Requires one of the following:

- `BearerAuth`, http, header `Authorization`, format `JWT`
- `ApiKeyAuth`, apiKey, in header, header `X-API-Key`, format `API_KEY`

## Code samples

### cURL

```bash
curl --request GET \
  --url https://api.channelautomation.com/api/calendar/timezones \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/calendar/timezones';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.channelautomation.com/api/calendar/timezones"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Timezones retrieved successfully

#### Example

```json
{
  "success": true,
  "timezones": [
    {
      "value": "America/New_York",
      "label": "Eastern Time (ET)"
    }
  ],
  "default_timezone": "America/New_York",
  "auto_detect_hint": "Use Intl.DateTimeFormat().resolvedOptions().timeZone in browser"
}
```

- `success` (`get/api/calendar/timezones.response.200.success`; boolean, optional)
  - example `true`
- `timezones` (`get/api/calendar/timezones.response.200.timezones`; array<object>, optional)
  - `value` (`get/api/calendar/timezones.response.200.timezones.value`; string, optional) — IANA timezone identifier
    - example `"America/New_York"`
  - `label` (`get/api/calendar/timezones.response.200.timezones.label`; string, optional) — Human-readable timezone label
    - example `"Eastern Time (ET)"`
- `default_timezone` (`get/api/calendar/timezones.response.200.default_timezone`; string, optional)
  - example `"America/New_York"`
- `auto_detect_hint` (`get/api/calendar/timezones.response.200.auto_detect_hint`; string, optional)
  - example `"Use Intl.DateTimeFormat().resolvedOptions().timeZone in browser"`

### 401

Authentication required

#### Example

```json
{
  "error": "Authentication required",
  "success": false
}
```

- `error` (`get/api/calendar/timezones.response.401.error`; string, optional)
  - example `"Authentication required"`
- `success` (`get/api/calendar/timezones.response.401.success`; boolean, optional)
  - example `false`

### 500

Internal server error

#### Example

```json
{
  "error": "Internal server error",
  "details": "string",
  "success": false
}
```

- `error` (`get/api/calendar/timezones.response.500.error`; string, optional)
  - example `"Internal server error"`
- `details` (`get/api/calendar/timezones.response.500.details`; string, optional)
- `success` (`get/api/calendar/timezones.response.500.success`; boolean, optional)
  - example `false`


Source: https://developer.channelautomations.com/api/get-api-calendar-timezones/index.md
