---
title: "List Messages"
method: GET
path: "/v1/messages"
tags: ["messages"]
---

# List Messages

`GET /v1/messages`

List messages exchanged in the workspace.

Requires the `messages:read` scope on the API key.

## Query parameters

- `page` integer — Page number.
- `size` integer — Number of items per page.
- `sort_by` 'sent_at'
- `sort_order` 'asc' | 'desc'
- `contact_id` string, uuid, nullable — Filter by contact linked to the message sequence.
- `sequence_id` string, uuid, nullable — Filter by sequence run.
- `channel` 'EMAIL' | 'LINKEDIN' | 'CALENDAR' | 'MANUAL'
- `direction` 'INBOUND' | 'OUTBOUND'
- `created_at_after` string, date-time, nullable — Return messages sent strictly after this timestamp.
- `created_at_before` string, date-time, nullable — Return messages sent strictly before this timestamp.

## Response `200`

Successful Response

- PublicPaginationEnvelopeMessagePublicOutput
  - `items` MessagePublicOutput[], required — Records on this page.
    - `id` string, uuid, required — Unique identifier.
    - `channel` 'EMAIL' | 'LINKEDIN' | 'CALENDAR' | 'MANUAL', required
    - `direction` 'INBOUND' | 'OUTBOUND', required
    - `subject` string, nullable, required — Email subject line, if any.
    - `body` string, required — Message body. Inbound messages have quoted reply history stripped.
    - `sent_at` string, date-time, required — When the message was sent or received.
    - `sender_id` string, uuid, nullable, required — Sending mailbox that sent an outbound message. Null for inbound messages from the contact.
    - `sender` PublicSenderSummary
      - `id` string, uuid, required — Unique identifier of the sending mailbox.
      - `email` string, nullable — Mailbox email address.
      - `name` string, nullable — Sender display name from the linked sender identity.
  - `total_count` integer, required — Total number of records matching the query.
  - `total_pages` integer, required — Total number of pages.
  - `has_more` boolean, required — Whether more pages remain after the current one.

---

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