Polaris

Append A User Or System Message To An Existing Polaris Thread

POSThttps://api.getcovent.com/api/v1/polaris/threads/{id}/messages

Append a user or system message to an existing Polaris thread.

How to Call

Use one of the examples below to call this endpoint from your own integration.

curl -X POST "https://api.getcovent.com/api/v1/polaris/threads/{id}/messages" \
  -H "Authorization: Bearer <API_KEY>" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
  "role": "user",
  "content": "Summarize this buyer's activity in Phoenix.",
  "attachment_ids": []
}'

Request

Review headers, parameters, and body fields before calling this endpoint.

AuthorizationstringRequired

Bearer token for the proposed external API contract.

Example: Bearer <API_KEY>
AcceptstringRequired

Response format header.

Example: application/json
Content-TypestringRequired

JSON request body header.

Example: application/json

idstringRequired

id path parameter.

Example: <id>

rolestringRequired

role request field.

Example: user
contentstringRequired

content request field.

Example: Summarize this buyer's activity in Phoenix.
attachment_idsarrayRequired

attachment_ids request field.

Example: []

Response

200application/json

idstringRequired

id response field.

Example: msg_123
rolestringRequired

role response field.

Example: user
contentstringRequired

content response field.

Example: Summarize this buyer's activity in Phoenix.
attachmentsarrayRequired

attachments response field.

Example: []
created_atstringRequired

created_at response field.

Example: 2026-04-17T20:01:00Z

Response Example

{
  "id": "msg_123",
  "role": "user",
  "content": "Summarize this buyer's activity in Phoenix.",
  "attachments": [],
  "created_at": "2026-04-17T20:01:00Z"
}