All endpoints
The API has nine read-only GET endpoints at https://api.officelycrew.com. The contract is at /openapi.json (OpenAPI 3, version 1.1.0), and you can try each endpoint in the interactive docs.
Directory
Section titled “Directory”Offices, people and teams.
| Endpoint | What it returns |
|---|---|
GET /v1/offices |
Every office in the workspace that owns the token. |
GET /v1/users |
The people directory. |
GET /v1/teams |
Teams with their current members and managers, sorted by name and then ID. |
Insights
Section titled “Insights”The numbers behind the Insights dashboard.
| Endpoint | What it returns |
|---|---|
GET /v1/insights/offices |
The numbers behind the Insights office dashboard. |
GET /v1/insights/people |
People with their attendance. Also exports CSV. |
GET /v1/insights/people/{userId} |
One person’s profile and attendance statistics. |
GET /v1/insights/people/{userId}/attendance |
The dates one person booked in each office, month by month, for up to 12 months. |
Work statuses
Section titled “Work statuses”Who is where, day by day.
| Endpoint | What it returns |
|---|---|
GET /v1/insights/work-statuses |
Each person’s status for each day in a date range. Also exports CSV. |
GET /v1/work-statuses |
Preview. Each person’s status per day for up to 31 days, matching the Insights bookings export. |
Conventions
Section titled “Conventions”| Topic | Detail |
|---|---|
| Response | { "data", "meta" }. /v1/offices returns { "data" }, and the preview /v1/work-statuses returns { "data", "nextCursor" }. |
| Fields | Every listed field is always present. Unavailable values are null, and lists are arrays. |
| IDs | Opaque strings, unique within your workspace. |
| Dates | YYYY-MM-DD, office-local. Timestamps are RFC 3339. |
| Headers | X-Request-Id on every response, and Cache-Control: no-store on customer data. |
| Preview | A preview endpoint may change before it’s marked stable. |
Did this answer your question?Thanks for letting us know.
Related
Still need help? Chat to our support team.
Contact support