Skip to content

Who's in the office this week

Call GET /v1/insights/work-statuses for Monday to Friday with types=office to see who has booked the office each day.

Terminal window
curl "https://api.officelycrew.com/v1/insights/work-statuses?from=2026-11-30&to=2026-12-04&types=office&officeIds=office_london" \
-H "Authorization: Bearer $OFFICELY_API_TOKEN"

Future dates are fine: bookings can be read up to 366 days after referenceDate. Leave out officeIds to cover every office.

Each row is one person on one day, with their office, neighbourhood and check-in. One office row, from the WorkStatusesExample in openapi.json:

{
"date": "2026-10-15",
"weekday": "Thursday",
"user": {
"id": "usr_alex",
"name": "Alex Morgan",
"email": "alex@example.com"
},
"type": "office",
"typeName": "Office",
"office": {
"id": "office_london",
"name": "London"
},
"neighbourhood": {
"id": "nbh_product",
"name": "Product",
"category": "Teams"
},
"extras": [
{
"id": "extra_monitor",
"name": "Monitor"
}
],
"guestEmails": [
"guest@example.com"
],
"note": "Customer workshop",
"checkIn": "checked_in"
}

For one line per person per day:

Terminal window
curl -s "https://api.officelycrew.com/v1/insights/work-statuses?from=2026-11-30&to=2026-12-04&types=office" \
-H "Authorization: Bearer $OFFICELY_API_TOKEN" \
| jq -r '.data[] | "\(.weekday) \(.user.name) \(.office.name)"'

A page holds up to 500 rows with limit=500. If meta.page.nextCursor isn’t null, fetch the next page: see Pagination.

Did this answer your question?

Still need help? Chat to our support team.

Contact support