---
title: "Ingest Message"
method: POST
path: "/internal/agent-mail/ingest"
tags: ["agent-mail"]
---

# Ingest Message

`POST /internal/agent-mail/ingest`

## Request

- Base URL: `https://api.cybret.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.cybret.ai/internal/agent-mail/ingest`
- Auth: none declared

## Headers

- `Authorization` string, nullable

## Request body

- IngestMessageRequest
  - `to` string, required
  - `text` string
  - `html` string

## Response `200`

Successful Response

- IngestMessageResponse
  - `accepted` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/cybret/apis/api-scanner-control-plane.md) · [All operations](https://skmtc.dev/cybret/apis/api-scanner-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/cybret/apis/api-scanner-control-plane/revisions/4c9b522246af?raw)
