Send a new message to an existing chat to continue the conversation
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer macaly_... |
Content-Type | Yes | application/json |
| Parameter | Type | Description |
|---|---|---|
chatId | string | The chat ID |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
content | string | Yes | - | The user’s message |
stream | boolean | No | true | If false, returns JSON instead of stream |
agentMode | string | No | - | "auto", "fast", or "smart" |
executionMode | string | No | - | "auto", "planning", or "build" |
stream: false)stream: true, default)| Status | Description |
|---|---|
| 200 | Success - Message sent |
| 400 | Invalid request body |
| 401 | Invalid or missing API key |
| 402 | Insufficient credits |
| 403 | Chat does not belong to this team |
| 404 | Chat not found |
| 429 | Rate limited |
| 500 | Server error |
stream: falseGET /api/chat/{chatId}/status until completed