---
title: "Get messages for conversation"
method: GET
path: "/api/agents/conversations/{conversationId}/messages"
tags: ["Agents"]
---

# Get messages for conversation

`GET /api/agents/conversations/{conversationId}/messages`

Gets all messages for the specified conversation for the current user.

## Path parameters

- `conversationId` integer, required

## Response `200`

Messages retrieved successfully.

- UserMessageDto[]
  - `id` integer
  - `conversationId` integer
  - `role` string
  - `content` string
  - `createdAt` string, date-time
  - `sequence` integer

## Other responses

- `401` — Unauthorized
- `403` — User does not have access to this conversation.

## Changes

- **2025-11-21** `50eff5014b78` — 1 info
  - endpoint added
- **2025-03-24** `fbc3fe6ecbf1` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/endatix/apis/endatix-platform-rest-api/changes/api/agents/conversations/:conversationId/messages/get.md)

---

[API](https://skmtc.dev/endatix/apis/endatix-platform-rest-api.md) · [All operations](https://skmtc.dev/endatix/apis/endatix-platform-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/endatix/endatix-platform-rest-api/revisions/01bd299fd100/schema)
