Get Access History
Get the activity logs for an access point/user
GET
https://api.parqex.com/oauth/v1/endpoints/toggle-history
Retrieve the access logs/history for a single device/door for a given user.
Query Parameters
Name | Type | Description |
---|---|---|
end_date | string | Ending date of history ( |
start_date | string | Starting date of history ( |
history_type | string | "door" | "user" |
door_id | string |
|
Headers
Name | Type | Description |
---|---|---|
Accept | string | Always set to |
Content-Type | string | Always set to |
Authorization | string | Set to |
Accept-Charset | string | Always set to |
Accept-Encoding | string | Always set to |
The /toggle-history endpoint is used to retrieve the selected Controller's recent history. You can request the history of an entire Controller (ie. Device
) or a specific Door
. Furthermore, the history can be constrained to a particular time period via start_date
and end_date
.
An example request for a specific door may look like this:
where <ACCESS_TOKEN>
is a valid access token.
If requesting the history of an entire device, it might resemble the following:
where <TODAY> is today's data with the format YYYY-MM-DD.
Last updated