---
title: "Get all timezones"
method: GET
path: "/timezones"
tags: ["timezone"]
---

# Get all timezones

`GET /timezones`

## Request

- Base URL: `https://staging.api-golang.boilerplate.hng.tech/api/v1`
- URL: `https://staging.api-golang.boilerplate.hng.tech/api/v1/timezones`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/hngprojects/apis/kimiko-golang-swagger/docs/timezones/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves a list of all available timezones.

## Response `200`

A list of timezones

- TimezoneSchema[]
  - `timezone` string
  - `gmt_offset` string
  - `description` string

## Other responses

- `400`: Bad request error
- `401`: Authentication error

## Changes

- **2024-08-07** `f777e29f0ee3`: 2 warning, 3 info
  - removed the optional property `items/identifier` from the response with the `200` status
  - removed the optional property `items/offset` from the response with the `200` status
  - added the optional property `items/description` to the response with the `200` status
  - added the optional property `items/gmt_offset` to the response with the `200` status
  - …1 more
- **2024-08-07** `06cecc2ac126`: 3 warning, 2 info
  - removed the optional property `items/description` from the response with the `200` status
  - removed the optional property `items/gmt_offset` from the response with the `200` status
  - removed the optional property `items/timezone` from the response with the `200` status
  - added the optional property `items/identifier` to the response with the `200` status
  - …1 more

[Operation history](https://skmtc.dev/hngprojects/apis/kimiko-golang-swagger/changes/timezones/get.md)

---

[API](https://skmtc.dev/hngprojects/apis/kimiko-golang-swagger.md) - [All operations](https://skmtc.dev/hngprojects/apis/kimiko-golang-swagger/llms.txt) - [OpenAPI document](https://skmtc.dev/hngprojects/apis/kimiko-golang-swagger/revisions/2d1d3ed96bb9?raw)
