---
title: "Get a message by id"
method: GET
path: "/messages/{messageId}"
tags: ["Messages"]
---

# Get a message by id

`GET /messages/{messageId}`

## Path parameters

- `messageId` string, uuid, required

## Response `200`

Message details

- object
  - `id` string, uuid, required
  - `workspaceId` string, uuid, required
  - `conversationId` string, uuid, nullable, required
  - `userId` string, uuid, nullable, required
  - `whatsappMessageId` string, nullable, required — Id of the message in the WhatsApp API
  - `from` string, nullable, required — WhatsApp id of the sender phone number
  - `to` string, nullable, required — Recipient phone number
  - `role` 'user' | 'assistant' | 'tool' | 'internal', required
  - `status` string, nullable, required — Delivery status reported by WhatsApp
  - `type` string, nullable, required — Message type, e.g. `text`, `image` or `interactive`
  - `content` string, nullable, required — Textual content of the message, when it has one
  - `contentData` object, nullable, required — Type-specific payload of the message
  - `createDate` string, date-time, required
  - `sendDate` string, date-time, required
  - `deliverDate` string, date-time, nullable, required
  - `readDate` string, date-time, nullable, required

## Other responses

- `401` — Unauthorized
- `404` — Message not found

## Changes

- **2026-08-07** `30bd33ee45c9` — 2 info
  - added the media type `application/json` for the response with the status `401`
  - added the media type `application/json` for the response with the status `404`
- **2026-07-28** `8ccfb9a461e2` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/indigohive/apis/cogfy-messenger-public-api/changes/messages/:messageId/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-service-production.skmtc.workers.dev/v1/apis/indigohive/cogfy-messenger-public-api/revisions/30bd33ee45c9/schema)
