Skip to main content
GET
/
timezones
Get Timezones
curl --request GET \
  --url https://api.roostedhr.com/api/1_12/timezones \
  --header 'X-API-KEY: <api-key>'
[
  {
    "id": 5,
    "name": "Eastern Time (US & Canada)",
    "offset": "-05:00"
  },
  {
    "id": 6,
    "name": "Central Time (US & Canada)",
    "offset": "-06:00"
  },
  {
    "id": 8,
    "name": "Pacific Time (US & Canada)",
    "offset": "-08:00"
  }
]
Use the timezone id from this response when setting a company or location timezone.

Authorizations

X-API-KEY
string
header
required

Response

OK

id
integer

Timezone identifier.

name
string

Timezone display name (e.g. "Eastern Time (US & Canada)").

offset
string

UTC offset (e.g. "-05:00").