Merge · JSON Structure

Chat Api Message Structure

A chat message normalized through Merge Chat Unified API.

Type: object Properties: 13
IntegrationsPlatformUnified APIAgent HandlerLLM Gateway

Message is a JSON Structure definition published by Merge, describing 13 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id remote_id conversation author content content_html parent_message attachments mentions sent_at remote_was_deleted created_at modified_at

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/chat-api-message-structure.json",
  "name": "Message",
  "description": "A chat message normalized through Merge Chat Unified API.",
  "type": "object",
  "properties": {
    "id": { "type": "uuid" },
    "remote_id": { "type": "string" },
    "conversation": { "type": "uuid" },
    "author": { "type": "uuid" },
    "content": { "type": "string" },
    "content_html": { "type": "string" },
    "parent_message": { "type": "uuid" },
    "attachments": { "type": "array", "items": { "type": "string" } },
    "mentions": { "type": "array", "items": { "type": "uuid" } },
    "sent_at": { "type": "datetime" },
    "remote_was_deleted": { "type": "boolean" },
    "created_at": { "type": "datetime" },
    "modified_at": { "type": "datetime" }
  }
}