---
title: "List user messages"
method: GET
path: "/messages"
tags: ["Users"]
---

# List user messages

`GET /messages`

## Request

- Base URL: `https://api.distill.io/v2`
- URL: `https://api.distill.io/v2/messages`
- Auth: one of:
  - API key in cookie `connect.sid`
  - HTTP bearer
  - API key in query parameter `api_key`

Auth: Auth — Any authenticated user.

## Response `200`

Success

- object
  - `data` object[], required
    - `id` string, uuid, required
    - `ts` string, date-time, required
    - `type` integer, required
    - `data` unknown
    - `actions` object[]
      - `label` string
      - `link` string
    - `body` string, required
    - `flash` boolean
    - `level` string, required
    - `title` string, required
  - `total_count` integer, required
  - `count` integer
  - `offset` integer

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/distill/apis/distill-io-api-v2.md) - [All operations](https://skmtc.dev/distill/apis/distill-io-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/distill/apis/distill-io-api-v2/revisions/c55722ccfe14?raw)
