---
title: "CSV exports"
description: "Add format=csv to /v1/insights/people or /v1/insights/work-statuses to get the whole filtered result as one CSV file, up to 10,000 rows."
url: https://help.officelycrew.com/developers/csv-exports
product: developers
product_name: Developers
type: guide
platforms: [slack, teams]
private_beta: "The Officely Crew API is in private beta. Want in? [Contact support](/account/contact-support) to ask to join, and we'll turn on API tokens for your workspace. Once it's on, Account Admins see the API token setting under **Account & Billing**."
audience: [developer]
updated: 2026-11-30
verified: 2026-11-30
errors:
  - "EXPORT_TOO_LARGE"
related:
  - https://help.officelycrew.com/developers/v1-insights-work-statuses
  - https://help.officelycrew.com/developers/v1-insights-people
  - https://help.officelycrew.com/officely/export-data
  - https://help.officelycrew.com/developers/rate-limits
---
# CSV exports

> **Private beta.** The Officely Crew API is in private beta. Want in? [Contact support](https://help.officelycrew.com/account/contact-support) to ask to join, and we'll turn on API tokens for your workspace. Once it's on, Account Admins see the API token setting under **Account & Billing**.

Add `format=csv` to `/v1/insights/people` or `/v1/insights/work-statuses` to get the whole filtered result as one CSV file, up to 10,000 rows.

## The two exports

| Export | Endpoint | Columns, in order |
| --- | --- | --- |
| Bookings | `/v1/insights/work-statuses` | Date, Name, Email, Type, Office, Neighbourhood, NeighbourhoodCategory, Extras, Guests, Notes, Checked In |
| Recent activity | `/v1/insights/people` | Name, Email, User ID, Number of Days this Week, Last Four Weeks, Last Four Weeks vs Average (%) |

```sh
curl -OJ "https://api.officelycrew.com/v1/insights/work-statuses?from=2026-09-01&to=2026-09-30&format=csv" \
  -H "Authorization: Bearer $OFFICELY_API_TOKEN"
```

`-OJ` saves the file under the name in `Content-Disposition`: `officely-bookings-<from>-<to>.csv` or `officely-recent-activity-<referenceDate>.csv`.

A Bookings export, from the synthetic example in `openapi.json`:

```csv
Date,Name,Email,Type,Office,Neighbourhood,NeighbourhoodCategory,Extras,Guests,Notes,Checked In
2026-10-14,Alex Morgan,alex@example.com,Working remotely,,,,,,,
2026-10-15,Alex Morgan,alex@example.com,Office,London,Product,Teams,Monitor,guest@example.com,Customer workshop,Yes
```

## Rules

- Up to 10,000 rows. A bigger export gets `422 EXPORT_TOO_LARGE` before any of the file is sent; nothing is cut off silently. Narrow the dates or filters, or use JSON with [pagination](https://help.officelycrew.com/developers/pagination).
- Leave out `cursor` and `limit`.
- One CSV a minute per token, shared by both exports.
- Errors are still JSON.
- No results gives a file with only the header row.

## File format

- UTF-8 `text/csv`, RFC 4180 quoting, CRLF line endings.
- Text that a spreadsheet could run as a formula starts with an apostrophe. The JSON value is unchanged.
- Extras and guest emails are joined with commas inside one quoted cell.
- A neighbourhood without a category shows as Uncategorized.
- `Checked In` is there only when a selected office uses check-in: Yes, No, or blank.

## Recent activity

Like the dashboard export, Recent activity has only active, onboarded users, so `includeNonOfficelyUsers` and `includeArchived` must be false. Its `User ID` column is `user.platformUserId`: use `user.id` from the JSON in API paths and filters.

A Recent activity export, from the synthetic example in `openapi.json`:

```csv
Name,Email,User ID,Number of Days this Week,Last Four Weeks,Last Four Weeks vs Average (%)
Alex Morgan,alex@example.com,usr_alex,2,8,0
```
