Retrieve data for multiple accesses with a GET request to the endpoint.
The search query can match the name, email, or mobile number of the guest, or the name, serial number, notes or address of the key. Omitting the search query will return all accesses. The response body will contain the access data as a JSON array.
A search can also be performed using a key ID. The results will include all ongoing or future accesses for that key.
curl -u '[email protected]:{password}' https://www.keycafe.com/v0/access?key=123456 -H "Accept: application/json"
A search can also be performed using a user ID. The results will include all ongoing or future accesses for that user.
curl -u '[email protected]:{password}' https://www.keycafe.com/v0/access?user=123456 -H "Accept: application/json"
A search can also be performed by organization ID. The results will include all accesses created for keys in the specified organization.
curl -u '[email protected]:{password}' https://www.keycafe.com/v0/access?organization=123456 -H "Accept: application/json"
Results are limited to 50 per page, with additional pages available via the Link response header:
Link: <https://www.keycafe.com/v0/access?query=bob&page=2>; rel="next", <https://www.keycafe.com/v0/access?query=bob&page=5>; rel="last"