---
title: "List chats across all agency creators"
method: GET
path: "/agencies/chats"
---

# List chats across all agency creators

`GET /agencies/chats`

Returns a single paginated stream of chats across every creator the authenticated agency manages, sorted by most recent activity. Each row is tagged with `creatorUuid` so consumers can group results by creator without an additional join.

Replaces the per-creator `GET /creators/{uuid}/chats` fan-out used by agency CRM sync flows: 1 + N calls collapse to ceil(total/size) calls.

Mute state is per-creator: `isMuted` is true only when the specific creator that owns the chat row has muted the counterpart, not when any other agency creator has.
<Info>Requires: Agency admin access</Info>

## Query parameters

- `page` integer — Page number to retrieve (starts from 1)
- `size` integer — Number of items to return per page (1-50, default: 15)
- `updatedAfter` string, date-time — Incremental sync: only return chats with activity strictly after this timestamp. Chats with no messages are excluded.
- `sortBy` 'most_recent_messages' | 'online_now' | 'most_unanswered_chats' — Sort order for the chat list (default: most_recent_messages)
- `sortDirection` 'asc' | 'desc' — Sort direction for the chat list (default: desc)

## Headers

- `X-Fanvue-API-Version` string, required

## Response `200`

Paginated list of chats across the agency's creators

- object
  - `data` object[], required — Array of chats across the agency's creators
    - `createdAt` string, date, nullable, required
    - `lastMessageAt` string, date, nullable, required — Date of the last message in this chat
    - `isRead` boolean, required — Whether the chat is read. Authoritative for unread badges: it is false either when unread messages exist or when the chat was manually marked unread via PATCH /chats/{userUuid}, in which case `unreadMessagesCount` stays 0.
    - `isMuted` boolean, required
    - `unreadMessagesCount` number, required — Number of messages in this chat the authenticated user has not read. 0 for a chat that was manually marked unread — use `isRead` for badge state.
    - `user` object, required
      - `uuid` string, uuid, required
      - `handle` string, required
      - `displayName` string, required
      - `nickname` string, nullable, required
      - `isTopSpender` boolean, required
      - `avatarUrl` string, nullable, required
      - `registeredAt` string, date-time, required
    - `lastMessage` object, nullable, required
      - `text` string, nullable, required
      - `type` 'AUTOMATED_CANCELED' | 'AUTOMATED_NEW_FOLLOWER' | 'AUTOMATED_NEW_PURCHASE' | 'AUTOMATED_NEW_SUBSCRIBER' | 'AUTOMATED_RE_SUBSCRIBED' | 'AUTOMATED_RENEWED' | 'AUTOMATED_CHAT_MESSAGE_REPLY' | 'AUTOMATED_FIRST_MESSAGE_REPLY' | 'CHAT_TEXT_GENERATION' | 'CHAT_TEXT_REPLY' | 'CHAT_TEXT_REWRITE' | 'SINGLE_RECIPIENT' | 'TIP' | 'VOICE_CALL' | 'BROADCAST' | 'GHOST_PROMOTION', required
      - `uuid` string, required
      - `sentAt` string, date, nullable, required
      - `hasMedia` boolean, nullable, required
      - `hasGif` boolean, required — Whether the last message is a GIF message. Its text may still be set as a caption. Fetch the message to get the GIF itself.
      - `mediaType` 'image' | 'video' | 'audio' | 'document', nullable, required
      - `senderUuid` string, uuid, required
      - `senderRole` 'FAN' | 'CREATOR' | 'AGENCY' | 'SYSTEM', required — Who sent the last message: CREATOR (the creator, sent directly), AGENCY (a team member sent it on the creator's behalf), FAN (the counterpart fan) or SYSTEM (an automated/platform message such as a subscription automation or KYC prompt).
      - `sentByUserId` string, uuid, nullable, required — UUID of the team member who sent the message on behalf of the creator, or null if sent directly by the creator
      - `status` 'Sent' | 'Delivered' | 'Read', nullable — Delivery status of the last message from the sender's perspective: Sent (still in flight), Delivered (sent but not yet read by the recipient) or Read. Null when the last message was received by the authenticated user (inbound).
    - `isCreator` boolean — Whether the chat counterpart is also a creator on the platform
    - `online` boolean — Whether the counterpart is currently online. Provided inline to avoid a separate /chats/statuses request.
    - `lastSeenAt` string, date, nullable — When the counterpart was last seen online, or null if unknown/hidden
    - `customLists` object[] — Custom lists owned by the authenticated user that the counterpart belongs to
      - `uuid` string, uuid, required — Custom list UUID
      - `name` string, required — Custom list name
    - `creatorUuid` string, uuid, required — UUID of the agency-managed creator that owns this chat
  - `pagination` object, required — Pagination information
    - `page` number, required — Current page number
    - `size` number, required — Number of records returned in this response
    - `hasMore` boolean, required — Whether there are more items available on subsequent pages

## Other responses

- `400` — Bad Request - API version not supported OR validation failed
- `401` — Unauthorized Response
- `403` — Unauthorized Response
- `410` — API version no longer supported (sunset)
- `429` — Too many requests - rate limit exceeded

---

[API](https://skmtc.net/fanvue/apis/fanvue-api.md) · [All operations](https://skmtc.net/fanvue/apis/fanvue-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fanvue/fanvue-api/revisions/c5ddcd5c7e72/schema)
