GET /resources/timezone/:email
Will return the current timezone for any resource on the platform (queried by email).
If connected with a Google account, the timezone is automatically fetched from Google calendar. The timezone can be also be set manually using the [PUT] /resources/me endpoint.
Endpoint
GET https://api.timekit.io/v2/resources/timezone/:email
Parameters
| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Email |
query | string | yes | The email of the user you want the timezone for |
Response examples
200
json{
"data": {
"timezone": "Europe/Stockholm",
"utc_offset": 1
}
}