---
title: "Create Message"
method: POST
path: "/v1/messages"
tags: ["anthropic"]
---

# Create Message

`POST /v1/messages`

## Request

- Base URL: `https://api.tagflow-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tagflow-ai.com/v1/messages`
- Auth: none declared

## Headers

- `authorization` string, nullable

## Request body

- AnthropicMessagesRequest: POST /v1/messages. `max_tokens` is required by the Anthropic API.
  - `model` string, required
  - `messages` object[], required
  - `max_tokens` integer, required
  - `stream` boolean, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tagflow-ai/apis/multi-dialect-llm-gateway.md) - [All operations](https://skmtc.dev/tagflow-ai/apis/multi-dialect-llm-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/tagflow-ai/apis/multi-dialect-llm-gateway/revisions/35100eabe9a2?raw)
