---
title: "List activities"
method: GET
path: "/activities"
tags: ["Activities"]
---

# List activities

`GET /activities`

## Request

- Base URL: `https://api.commonroom.io/api/v2`
- URL: `https://api.commonroom.io/api/v2/activities`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/commonroom/apis/common-room-api-v2/docs/activities/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve a list of activities with pagination support.

## Query parameters

- `limit` integer
- `cursor` string
- `sort` 'id' | 'activityTime'
- `direction` 'asc' | 'desc'
- `cols` string
- `contactId` string
- `organizationId` string
- `startDate` string, date-time
- `endDate` string, date-time

## Response `200`

OK

- ActivityList
  - `success` true, required
  - `data` ApiActivity[], required
    - `id` string, required: Prefixed activity ID (format `a_<number>`)
    - `type` string, required: Activity type identifier (e.g. `tweet`, `pr_comment`)
    - `activityTime` string, date-time, required: When the activity occurred
    - `contactId` string: Prefixed contact ID (format `c_<number>`)
    - `content` string, nullable
    - `isUserInitiated` boolean
    - `participantCount` integer
    - `providerId` string: Prefixed signal source ID (format `sig_<number>`)
    - `providerName` string, nullable
    - `replyCount` integer
    - `sentiment` string, nullable
    - `subSourceNames` string[]
    - `url` string, uri
  - `meta` object, required
    - `nextCursor` string, nullable, required: Cursor for pagination; pass as the `cursor` query parameter to fetch the next page.
    - `recordCount` integer: Total number of records matching the query. Only returned when `cols=recordCount` is requested.

## Other responses

- `400`: Bad Request — also returned for malformed filters, e.g. "Invalid lightFilter: must be valid JSON", "Invalid lightFilter: does not match LightFilterExpression schema", or an unknown filter field.
- `403`: Forbidden
- `429`: Rate Limited

---

[API](https://skmtc.dev/commonroom/apis/common-room-api-v2.md) - [All operations](https://skmtc.dev/commonroom/apis/common-room-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/commonroom/apis/common-room-api-v2/revisions/865d4d43dadf?raw)
