---
title: "The caller's threads, most recently active first"
method: GET
path: "/chat/threads"
tags: ["Chat"]
---

# The caller's threads, most recently active first

`GET /chat/threads`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/chat/threads`
- Auth: HTTP bearer

## Query parameters

- `limit` integer
- `cursor` string

## Response `200`

OK

- object
  - `data` ChatThreadSummary[], required
    - `id` string, uuid, required
    - `kind` 'dm' | 'subgroup', required
    - `name` string, nullable, required
    - `groupId` string, uuid, nullable, required
    - `peer` object, nullable, required
      - `id` string, uuid, required
      - `username` string, nullable, required
      - `displayName` string, nullable, required
      - `avatarUrl` string, nullable, required
    - `lastMessage` object, nullable, required
      - `body` string, nullable, required
      - `senderId` string, uuid, required
      - `createdAt` string, required
      - `unsent` boolean, required
    - `lastMessageAt` string, nullable, required
    - `unreadCount` integer, required
  - `pagination` object, required
    - `nextCursor` string, nullable, required
    - `hasNext` boolean, required
    - `limit` integer, required
    - `totalCount` integer
  - `meta` object, required
    - `requestId` string, required

---

[API](https://skmtc.dev/whatareyoudo/apis/whatcha-api.md) · [All operations](https://skmtc.dev/whatareyoudo/apis/whatcha-api/llms.txt) · [OpenAPI document](https://skmtc.dev/whatareyoudo/apis/whatcha-api/revisions/48dd8a54abea?raw)
