This is intended to help conceptualize requests.

We recommend tools such as Postman or ApiDog for development and testing.

Advanced
Parameter Description TypeScript Value
token (Required) Your API Token string
pretty (Optional) true means the response json will include white space for readability. Default is false. boolean
establishment_ids (Optional) The id of the establishment(s) to filter hours by. number[]
year (Optional) The year to filter hours by. number
months (Optional) The month(s) to filter hours by. number[]
page (Optional) The page of OSHA hours to return. Defaults to 1. The response field paging.last_page tells you what the last valid page number is. number
limit (Optional) The maximum number of responses to return. Max 1000. Defaults to 1000. Use page to fetch additional responses. number
format (Optional) Choose whether the response should be in `json` or `csv` format. `json` is the default. string