Account Information
Public API
Get timezone by ZIP code
Retrieves the timezone for a US ZIP code. Returns the same timezone resource shape used by the list endpoint. Only US ZIP codes are supported; valid 5-digit ZIPs that are not present in our reference data return a 404.
OAuth Scopes: meta
get/api/v1/meta/timezones/by-zip/{zip}
Request
- Base URLhttps://companySubDomain.bamboohr.com
- AuthOAuth 2Authorization code/authorize.phpToken URL/token.phpScopesmeta
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
zipstring required
Example:84604
A 5-digit US ZIP code.
Response
The timezone resource
Example response
{
"id": "1",
"gmtOffset": "(GMT-07:00)",
"name": "Mountain Time",
"utcName": "America/Denver"
}Changes
No recorded changes to this operation across all 2 revisions of this API.