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

# Get a message by id

`GET /api/messages/{messageId}`

## Request

- Base URL: `https://api.supovia.com`
- URL: `https://api.supovia.com/api/messages/{messageId}`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

Returns one message to an authenticated operator or API key. A key requires the `messages:read` scope. Anonymous chat sessions cannot use this route. Messages belonging to another organization, or to a different Website than a Website-pinned key, respond 404.

## Path parameters

- `messageId` string, required

## Response `200`

The message

## Other responses

- `404`: Not found (or outside the authenticated tenant)

---

[API](https://skmtc.dev/supovia/apis/supovia-api.md) · [All operations](https://skmtc.dev/supovia/apis/supovia-api/llms.txt) · [OpenAPI document](https://skmtc.dev/supovia/apis/supovia-api/revisions/1c5beb84e9fa?raw)
