---
title: "Get the site access logs. Start-End date range must not exceed 365 days"
method: POST
path: "/KindooGetSiteUserAccessLogs"
tags: ["Environment Management"]
---

# Get the site access logs. Start-End date range must not exceed 365 days

`POST /KindooGetSiteUserAccessLogs`

## Response `200`

OK

- AccessLogObject[]
  - `ID` integer
  - `TimeStamp` string, date-time — The date and time when the access log (format YYYY-MM-DDTHH:mm:ss, UTC timezone)
  - `Username` string — The user full name
  - `DoorName` string — Entry point name
  - `ScheduleName` string — Controller schedule name
  - `ControllerName` string — Controller name
  - `PIN` string
  - `WorkOrderNumber` string
  - `Success` boolean — Whether the access attempt was successful or not
  - `ActionName` string — The action that ran (On, Off, Unlock, etc...)
  - `ReasonText` string — The reason why access was denied
  - `IsMasterLicenseAccess` boolean — Whether the access was granted through a master license or not
  - `IsLockdown` boolean — If the log was to deactivate entry point
  - `InvitedByFirstName` string
  - `InvitedByLastName` string
  - `InvitedByUsername` string
  - `InvitedOn` string, date-time — The date and time when the user was invited (format YYYY-MM-DDTHH:mm:ss, UTC timezone)
  - `RuleSetName` string — Access rule name
  - `FromDate` string, date-time — Access right from date (format YYYY-MM-DDTHH:mm:ss, UTC timezone). Filled if access right type is weekly of FROM-TO
  - `ToDate` string, date-time — Access right to date (format YYYY-MM-DDTHH:mm:ss, UTC timezone). Filled if access right type is weekly of FROM-TO
  - `Always` boolean — Whether the access right is of type always
  - `WeeklyRecurrent` boolean — Whether the access right is of type weekly
  - `DayOfWeek` integer — If the access right is of type weekly, the day of week of the access right. 0 for Sunday, 1 for monday, 2 for tuesday, 3 for wednesday, 4 for thursday, 5 for friday, 6 for saturday
  - `TimeZone` string — The display name of the C# timezone
  - `GrantedByFirstName` string
  - `GrantedByLastName` string
  - `GrantedByUsername` string
  - `GrantedOn` string, date-time — The date and time when the access right was granted (format YYYY-MM-DDTHH:mm:ss, UTC timezone)
  - `IsHoliday` boolean — Whether the access right is of type holiday
  - `IsSpecialEvent` boolean — Whether the access right is of type special event
  - `HolidayOrSpecialEventName` string — The name of the holiday or special event

## Other responses

- `303` — See Other
- `401` — Unauthorized - your session is not valid

---

[API](https://skmtc.net/kindoo/apis/kindoo-tech.md) · [All operations](https://skmtc.net/kindoo/apis/kindoo-tech/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kindoo/kindoo-tech/revisions/0f2499440f4b/schema)
