# Add a message to a conversation

> Creates a document from the message text and attaches it to the conversation at the given position. If position is omitted, it is appended at the end.

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Add a message to a conversation"}
>
</Heading>

<MethodEndpoint
  method={"post"}
  path={"/api/v1/conversations/{conversation_id}/messages"}
  context={"endpoint"}
>
  
</MethodEndpoint>

Creates a document from the message text and attaches it to the conversation at the given position. If position is omitted, it is appended at the end.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
>
  <Translate id="theme.openapi.request.title">Request</Translate>
</Heading>

<ParamsDetails
  {...require("./add-conversation-message.ParamsDetails.json")}
>
  
</ParamsDetails>

<RequestSchema
  {...require("./add-conversation-message.RequestSchema.json")}
>
  
</RequestSchema>

<StatusCodes
  {...require("./add-conversation-message.StatusCodes.json")}
>
  
</StatusCodes>
