---
title: "Ingest messages"
method: POST
path: "/messages"
tags: ["Messages"]
---

# Ingest messages

`POST /messages`

Ingest real-time messages for immediate full-text search.

## Request body

- MessagesRequest
  - `source` string, required — Integration source (e.g., 'slack', 'vault')
  - `messages` MessageItem[], required
    - `resource_id` string, required — Conversation identifier (becomes Resource.resource_id)
    - `message_id` string, required — Unique message identifier within the conversation
    - `content` string, required — Message text content

## Response `200`

Successful Response

- MessagesResponse
  - `count` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/hyperspell/apis/hyperspell-api.md) · [All operations](https://skmtc.net/hyperspell/apis/hyperspell-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hyperspell/hyperspell-api/revisions/5721acd588e6/schema)
