---
title: "Send Message"
method: POST
path: "/api/chat/threads/{thread_id}/messages"
tags: ["chat", "chat"]
---

# Send Message

`POST /api/chat/threads/{thread_id}/messages`

## Request

- Base URL: `https://marketcrew.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://marketcrew.ai/api/chat/threads/{thread_id}/messages`
- Auth: HTTP bearer

Send a message to a thread and get AI response (streaming)

## Path parameters

- `thread_id` string, required

## Request body

- SendMessageRequest: Request model for sending a message to a thread
  - `message` string, required: Message content
  - `web_search_enabled` boolean, nullable: Enable web search for this message
  - `portfolio_context_enabled` boolean, nullable: Enable portfolio context for this message
  - `instrument_ids` string[], nullable: List of current instrument IDs in context
  - `model` string, nullable: AI model to use (e.g., claude-sonnet-5-5 or gemini-3-pro)

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/marketcrew/apis/cappilot.md) · [All operations](https://skmtc.dev/marketcrew/apis/cappilot/llms.txt) · [OpenAPI document](https://skmtc.dev/marketcrew/apis/cappilot/revisions/7036e9c74d40?raw)
