---
title: "Get all messages in a conversation"
method: GET
path: "/conversations/:conversationId/messages"
tags: ["Conversations"]
---

# Get all messages in a conversation

`GET /conversations/:conversationId/messages`

## Request

- Base URL: `https://messenger-public-api.cogfy.com`
- URL: `https://messenger-public-api.cogfy.com/conversations/:conversationId/messages`
- Auth: API key in header `api-key`
- TypeScript: <https://skmtc.dev/indigohive/apis/cogfy-messenger-public-api/docs/conversations/:conversationId/messages/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `cursor` string

## Response `200`

A list of messages

- object
  - `data` object[]
    - `id` string, uuid
    - `workspaceId` string, uuid
    - `conversationId` string, uuid
    - `assistantId` string, uuid
    - `userId` string, uuid
    - `broadcastId` string, uuid
    - `whatsappMessageId` string
    - `from` string
    - `to` string
    - `role` string
    - `status` string
    - `type` string
    - `content` string
    - `contentData` object
    - `toolCallId` string
    - `toolCalls` string
    - `data` string
    - `contextId` string
    - `contextFrom` string
    - `createDate` string, date-time
    - `sendDate` string, date-time
    - `deliverDate` string, date-time
    - `readDate` string, date-time
    - `promptTokens` string
    - `completionTokens` string
    - `order` number
    - `traceId` string
  - `cursors` object
    - `next` string, nullable: Cursor for newer messages
    - `prev` string, nullable: Cursor for older messages

## Changes

- **2026-08-07** `30bd33ee45c9`: 1 breaking, 1 info
  - api removed without deprecation
  - endpoint added
- **2026-07-28** `54db63e3ad48`: 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added

[Operation history](https://skmtc.dev/indigohive/apis/cogfy-messenger-public-api/changes/conversations/:conversationId/messages/get.md)

---

[API](https://skmtc.dev/indigohive/apis/cogfy-messenger-public-api.md) - [All operations](https://skmtc.dev/indigohive/apis/cogfy-messenger-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/indigohive/apis/cogfy-messenger-public-api/revisions/30bd33ee45c9?raw)
