The latest occupancy count is shown on a [hosted page](https://help.camio.com/hc/en-us/articles/4402910509588-Current-Occupancy-Count-API-and-page#h_01F9CYSG6EMB38JZ57S0EX1FXN) or retrieved via [API](https://help.camio.com/hc/en-us/articles/4402910509588-Current-Occupancy-Count-API-and-page#h_01F9CYSVFVF0FJ5MRHAAWRZJCW).

# Hosted Page

The page showing the latest count is accessible from a link constructed with this template:

```
https://camio.com/counted/{{user}}/{{camera}}/{{object}}
```

|     |     |
| --- | --- |
| ```<br>{{user}}<br>``` | email address of the account owner (e.g. [hq@acme.com](mailto:hq@acme.com)) |
| ```<br>{{camera}}<br>``` | camera name url encoded (e.g. The "Server Room" camera would be Server%20Room) |
| ```<br>{{object}}<br>``` | either people or vehicles |

For example, this reports the current occupancy of the Server Room at Camio HQ in San Mateo:

[https://camio.com/counted/sanmateo@camiolog.com/Server%20Room/people](/content/counted/sanmateo@camiolog.com/Server%20Room/people/index.html)

# API

Currently, only authorized Guests can view the latest count. The API to fetch the latest count is simply a search that fetches the latest Event with the label **\_cs\_human\_counted** like this for the Server Room example above:

https://camio.com/api/search?text=sanmateo%40camiolog.com%20Server%20Room%20\_cs\_human\_counted%20all&sort=desc
