---
title: "List threads (paginated, optional status filter)"
method: GET
path: "/companies/{companyId}/threads"
tags: ["Threads"]
---

# List threads (paginated, optional status filter)

`GET /companies/{companyId}/threads`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/companies/{companyId}/threads`
- Auth: HTTP bearer

## Query parameters

- `status` 'open' | 'resolved'
- `limit` integer
- `cursor` string

## Response `200`

Paginated list of threads

- ThreadsListResponse
  - `success` boolean
  - `data` Thread[]
    - `id` string, uuid
    - `companyId` string, uuid
    - `subject` string
    - `status` 'open' | 'resolved'
    - `agentType` 'human' | 'ai'
    - `agentName` string, nullable
    - `initiatedByUserId` string, uuid, nullable
    - `createdBy` string, uuid, nullable
    - `resolvedBy` string, uuid, nullable
    - `resolvedAt` string, date-time, nullable
    - `lastActivityAt` string, date-time
    - `lastMessageAt` string, date-time, nullable
    - `updatedAt` string, date-time
    - `createdAt` string, date-time
  - `meta` PaginationMeta
    - `nextCursor` string, nullable
    - `hasMore` boolean

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) · [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) · [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/20090ea32b0d?raw)
