List staff entries into an organization
/api/v1/organizations/{id}/staff-activityOne page of the Environment's staff (identities holding a role at the Environment root) entering this organization, and of the attempts it refused while its policy's staff_entry was refused, newest first. Each row names the staff member and the roles they hold at the root, which is what they could do inside. kind narrows to entered or refused; q searches the staff member's email and the role names; sort_by is created (the default, newest first) or actor. Requires the hierarchy.view permission or canopy:organization.manage at the organization.
Authentication
Authorization Option A JWT access token. Never send alongside X-API-Key: a request carrying both is refused.
X-API-Key Option B API key for management-tier access. Never send alongside an Authorization header: a request carrying both is refused.
Path Parameters
idstring Required Query Parameters
pagenumber Optional Page number (1-based)
takenumber Optional Items per page (1-100, default 20)
qstring Optional Search the staff member's email and the role names
sort_byenum Optional Sort column: `created` (when) or `actor` (the staff member's email). Defaults to `created`, newest first.
orderenum Optional Sort direction
kindenum Optional Only entries (`entered`) or only refused attempts (`refused`). Omit for both.
Responses
application/json
items *OrganizationStaffActivityResponseDto[]pagination *PageMetaDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
Pagination
This endpoint returns a paginated collection. Use the query parameters below to page through results.
pagenumberPage number (1-indexed). Defaults to 1.
takenumberItems per page (1 to 100). Defaults to 20.
Each response includes an items array alongside a pagination object with item_count, page_count, has_previous_page, and has_next_page fields.
Returned object
curl -X GET "https://auth.canopy-io.com/api/v1/organizations/value/staff-activity?page=0&take=0&q=value&sort_by=created&order=asc&kind=entered" \ -H "X-API-Key: $CANOPY_API_KEY"
{ "items": [ { "id": "string", "kind": "entered", "action": "string", "actor_label": {}, "role_names": [ "string" ], "detail": {}, "created_at": "2026-04-20T12:00:00.000Z" } ], "pagination": { "page": 0, "take": 0, "item_count": 0, "page_count": 0, "has_previous_page": false, "has_next_page": false } }
Tell us how we can improve this guide.