---
title: "Create Message"
method: POST
path: "/api/ask-ai/conversations/{conversation_id}/messages"
tags: ["ask-ai"]
---

# Create Message

`POST /api/ask-ai/conversations/{conversation_id}/messages`

## Request

- Base URL: `https://api.outcallerai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.outcallerai.com/api/ask-ai/conversations/{conversation_id}/messages`
- Auth: none declared

## Path parameters

- `conversation_id` string, required

## Request body

- MessageCreateRequest
  - `content` string
  - `attachments` object[]
  - `pageContext` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-07** `22bf77a55154`: 1 info
  - the `pageContext/anyOf[subschema #1]/` request property's maxLength was increased from `12000` to `32000`
- **2026-08-25** `c38469b3aab0`: 1 info
  - added the new optional request property `pageContext`
- **2026-08-21** `2a1adc380310`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/outcallerai/apis/outcallerai-api/changes/api/ask-ai/conversations/:conversation_id/messages/post.md)

---

[API](https://skmtc.dev/outcallerai/apis/outcallerai-api.md) - [All operations](https://skmtc.dev/outcallerai/apis/outcallerai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/outcallerai/apis/outcallerai-api/revisions/40736cf433b4?raw)
