---
title: "The organization's activity log: invitations, role changes, removals and profile changes, newest first. A signed-in person who manages people; an API key or anyone else gets 403"
method: GET
path: "/v1/organization/activity"
---

# The organization's activity log: invitations, role changes, removals and profile changes, newest first. A signed-in person who manages people; an API key or anyone else gets 403

`GET /v1/organization/activity`

## Request

- Base URL: `https://api.evictionsapi.com`
- URL: `https://api.evictionsapi.com/v1/organization/activity`
- Auth: HTTP bearer

## Query parameters

- `before` string

## Response `200`

A page of the log.

- object
  - `items` object[], required: Newest first, 50 at most.
    - `id` string, required
    - `action` string, required: What happened: `invitation_sent`, `invitation_resent`, `invitation_revoked`, `invitation_accepted`, `role_changed`, `member_removed`, `member_left`, `organization_created`, `name_changed`, `profile_changed`, `billing_contact_changed`, and later others.
    - `actor` object, nullable, required: Who did it, by their current name; null for the platform itself.
      - `id` string, required
      - `name` string, nullable, required
    - `detail` unknown, required
    - `createdAt` string, date-time, required
  - `nextBefore` string: When there are older rows: pass it as `before` for the next page.

## Other responses

- `400`: The request is invalid.
- `401`: The credential is missing or invalid.
- `403`: The credential is not allowed to do this (`forbidden`). For a signed-in session: `permission_denied`, the person's role in the organization lacks the permission this needs (ask an owner); `no_organization`, the person belongs to no organization yet (start one with `POST /v1/me/organizations` or accept an invitation).
- `404`: Not found.
- `409`: The request conflicts with the current state: for a case, it is not in a state that allows this, or its details were erased (`erased`); for an API key, a limit or the key in use.
- `422`: The case did not pass a check.

---

[API](https://skmtc.dev/evictionsapi/apis/evictions-api.md) · [All operations](https://skmtc.dev/evictionsapi/apis/evictions-api/llms.txt) · [OpenAPI document](https://skmtc.dev/evictionsapi/apis/evictions-api/revisions/28459213a1a3?raw)
