Returns the people directory: each person’s IDs, name, email, home office, teams and onboarding state.
By default you get active people who have onboarded, sorted by name and then id. Add includeNonOfficelyUsers=true or includeArchived=true to widen that. Reading this endpoint never creates or changes anyone.
Rate limit: 10 requests a minute (light tier). See Rate limits.
Try it with your token in the interactive docs: select Authorize, paste the token without Bearer, then Try it out.
Request
Section titled “Request”GET https://api.officelycrew.com/v1/usersSearch by name:
curl "https://api.officelycrew.com/v1/users?includeNonOfficelyUsers=true&q=Alex" \ -H "Authorization: Bearer $OFFICELY_API_TOKEN"One team:
curl "https://api.officelycrew.com/v1/users?teamIds=team_product" \ -H "Authorization: Bearer $OFFICELY_API_TOKEN"Query parameters
Section titled “Query parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
officeIds |
string[] | — | — | Only people whose home office is one of these. Up to 20 IDs. Comma-separated. |
teamIds |
string[] | — | — | Only people currently in one of these teams. Up to 20 IDs. Comma-separated. |
userIds |
string[] | — | — | Only these people. Use id from GET /v1/users, not platformUserId. Up to 100 IDs. Comma-separated. |
referenceDate |
date | — | — | The day the report is calculated from. Defaults to today (UTC). Can’t be in the future. Repeat it on cursor requests. YYYY-MM-DD. |
q |
string | — | — | Case-insensitive search on name and email. Up to 100 characters. |
includeNonOfficelyUsers |
boolean | — | false |
Add people who haven’t onboarded yet. This adds people from your workspace directory.Only people the app already knows about can appear. |
includeArchived |
boolean | — | false |
Add archived or deactivated people. |
limit |
integer | — | 100 |
Rows per page. 1 to 500. |
cursor |
string | — | — | meta.page.nextCursor from the previous page. Send it with the same other parameters. Up to 4096 characters. |
Response
Section titled “Response”200 with { "data": [...], "meta" }. Every listed field is always present. A value that is unavailable or doesn’t apply is null.
| Field | Type | Description |
|---|---|---|
data[] |
object[] | The results, one per row. |
└ id |
string | Person ID. Use it in paths and userIds. |
└ platform |
string | The chat platform the workspace uses. One of: slack, ms_teams. |
└ platformUserId |
string | The person’s user ID on the chat platform. Older records can differ from id: use id in paths and filters. |
└ name |
string | Display name. |
└ email |
string | null | Email address, or null. |
└ avatarUrl |
string | null | Profile picture, or null. |
└ homeOfficeId |
string | null | The person’s first configured office, or null. |
└ teamIds |
string[] | Teams the person is in now. |
└ isOfficelyUser |
boolean | Whether the person has onboarded. |
└ state |
string | Whether the person is active, archived or deactivated. One of: active, archived, deactivated. |
└ invitedAt |
string (date-time) | null | When the person was invited, or null. |
└ onboardedAt |
string (date-time) | null | When the person onboarded, or null. |
meta |
object | How the request was read. |
└ generatedAt |
string (date-time) | When the response was generated, not how fresh every record is. |
└ referenceDate |
string (date) | The reference date used. Repeat it on cursor requests. |
└ selection |
object | The filters you sent, as IDs. An empty array means that filter wasn’t sent. |
└ selection.officeIds |
string[] | The officeIds you sent. |
└ selection.teamIds |
string[] | The teamIds you sent. |
└ selection.userIds |
string[] | The userIds you sent. |
└ page |
object | Paging. See Pagination. |
└ page.limit |
integer | Page size used. |
└ page.nextCursor |
string | null | Send as cursor to get the next page. null on the last page. |
└ page.totalCount |
integer | Rows matching the query, across all pages. |
Response headers
Section titled “Response headers”| Header | Description |
|---|---|
Cache-Control |
Always no-store. |
X-Request-Id |
ID of this request. Quote it when you contact support. |
Example response
Section titled “Example response”A synthetic example from the contract, /openapi.json.
{ "data": [ { "id": "usr_alex", "platform": "slack", "platformUserId": "usr_alex", "name": "Alex Morgan", "email": "alex@example.com", "avatarUrl": null, "homeOfficeId": "office_london", "teamIds": [ "team_product" ], "isOfficelyUser": true, "state": "active", "invitedAt": "2026-09-13T10:00:00Z", "onboardedAt": "2026-09-14T09:00:00Z" } ], "meta": { "generatedAt": "2026-10-15T12:00:00Z", "referenceDate": "2026-10-15", "selection": { "officeIds": [], "teamIds": [], "userIds": [] }, "page": { "limit": 100, "nextCursor": null, "totalCount": 1 } }}Errors
Section titled “Errors”Errors are JSON: { "error": { "code", "message" } }. Branch on code, and see Errors for every code.
| HTTP | Code | When |
|---|---|---|
| 400 | INVALID_QUERY |
A parameter is missing, invalid, repeated or unknown. |
| 400 | INVALID_CURSOR |
The cursor is invalid or doesn’t match the query. |
| 401 | UNAUTHORIZED |
The token is missing, invalid or revoked. |
| 403 | FORBIDDEN |
The request isn’t allowed. |
| 404 | NOT_FOUND |
An ID in a filter isn’t in this workspace. |
| 405 | METHOD_NOT_ALLOWED |
Only GET is supported. |
| 422 | — | The query is valid but can’t be fulfilled. The code says why. |
| 429 | RATE_LIMITED |
Over the rate limit. Wait for the seconds in Retry-After. |
| 500, 502, 503 | INTERNAL_ERROR, BAD_GATEWAY, SERVICE_UNAVAILABLE |
Something went wrong on our side. Retry later, and quote X-Request-Id if it keeps happening. |
Related
Still need help? Chat to our support team.
Contact support