get https://www.keycafe.com/v0/box
Retrieve data for multiple SmartBoxes with a GET request to the endpoint (enterprise customers only).
Omitting all of the search properties will return all SmartBoxes.
A search can be performed by location ID. The results will include all SmartBoxes associated with the specified location.
curl -u '[email protected]:{password}' https://www.keycafe.com/v0/box?location=123456 -H "Accept: application/json"
A search can also be performed by organization ID. The results will include all SmartBoxes associated with locations in the specified organization.
curl -u '[email protected]:{password}' https://www.keycafe.com/v0/box?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/box?location=123456&page=2>; rel="next", <https://www.keycafe.com/v0/box?location=123456&page=5>; rel="last"