Skip to content

Time zones

Meetings take an IANA time zone name such as Europe/Brussels. This endpoint lists the names Hehllo accepts.

List of names

curl https://api.hehllo.com/v1/timezones \
  -H "Authorization: Bearer hhk_live_YOUR_KEY"
<?php
$ch = curl_init('https://api.hehllo.com/v1/timezones');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER     => [
        'Authorization: Bearer hhk_live_YOUR_KEY',
    ],
]);
$response = curl_exec($ch);
$status   = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
$data = json_decode($response, true);
const res = await fetch('https://api.hehllo.com/v1/timezones', {
  headers: {
    'Authorization': 'Bearer hhk_live_YOUR_KEY',
  },
});
const data = await res.json();
import requests

r = requests.get(
    "https://api.hehllo.com/v1/timezones",
    headers={
        "Authorization": "Bearer hhk_live_YOUR_KEY",
    },
)
data = r.json()
{
  "success": true,
  "data": ["Africa/Abidjan", "Africa/Accra", "…", "Europe/Brussels", "…", "UTC"],
  "meta": { "request_id": "…" }
}

About 420 names. Old aliases such as Asia/Calcutta are not accepted; use the current name (Asia/Kolkata).

With details, for a picker

Add ?detail=1 to get a label, country and UTC offsets for each zone, ordered by offset. Handy for a drop-down.

curl "https://api.hehllo.com/v1/timezones?detail=1" \
  -H "Authorization: Bearer hhk_live_YOUR_KEY"
<?php
$ch = curl_init('https://api.hehllo.com/v1/timezones?detail=1');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER     => [
        'Authorization: Bearer hhk_live_YOUR_KEY',
    ],
]);
$response = curl_exec($ch);
$status   = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
$data = json_decode($response, true);
const res = await fetch('https://api.hehllo.com/v1/timezones?detail=1', {
  headers: {
    'Authorization': 'Bearer hhk_live_YOUR_KEY',
  },
});
const data = await res.json();
import requests

r = requests.get(
    "https://api.hehllo.com/v1/timezones?detail=1",
    headers={
        "Authorization": "Bearer hhk_live_YOUR_KEY",
    },
)
data = r.json()
{
  "success": true,
  "data": [
    { "name": "Europe/Brussels", "group_name": "Europe", "country_code": "BE",
      "label": "Brussels, Belgium", "utc_offset_std": "+01:00",
      "utc_offset_dst": "+02:00", "has_dst": true },
    { "name": "UTC", "group_name": "UTC", "country_code": null,
      "label": "UTC", "utc_offset_std": "+00:00",
      "utc_offset_dst": null, "has_dst": false }
  ],
  "meta": { "request_id": "…" }
}
utc_offset_stdOffset in standard (winter) time
utc_offset_dstOffset in summer time, or null if the zone has none
has_dstWhether the zone changes clocks
The list changes rarely. Cache it on your side for a day or longer.