> This page is for Unified.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.merge.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.merge.dev/_mcp/server.

The `Message` object is used to represent a message within the Chat account.

### The Message Object

```json
{
  "id": "string",
  "remote_id": "string",
  "created_at": "2023-01-01T00:00:00Z",
  "modified_at": "2023-01-01T00:00:00Z",
  "user_id": "string",
  "conversation_id": "string",
  "body": "string",
  "subject_line": "string",
  "root_message_id": "string",
  "url": "string",
  "remote_created_at": "2023-01-01T00:00:00Z",
  "remote_updated_at": "2023-01-01T00:00:00Z",
  "remote_was_deleted": true
}
```

### Schema (`Message`)

```yaml
components:
  schemas:
    Message:
      type: object
      properties:
        id:
          type: string
          format: uuid
        remote_id:
          type:
            - string
            - 'null'
          description: The third-party API ID of the matching object.
        created_at:
          type: string
          format: date-time
          description: The datetime that this object was created by Merge.
        modified_at:
          type: string
          format: date-time
          description: The datetime that this object was modified by Merge.
        user_id:
          type:
            - string
            - 'null'
          format: uuid
          description: The user that sent the message.
        conversation_id:
          type:
            - string
            - 'null'
          format: uuid
          description: The conversation this message belongs to.
        body:
          type:
            - string
            - 'null'
          description: The body of the message.
        subject_line:
          type:
            - string
            - 'null'
          description: The subject line of the message.
        root_message_id:
          type:
            - string
            - 'null'
          format: uuid
          description: The root message this message belongs to.
        url:
          type:
            - string
            - 'null'
          format: uri
          maxLength: 500
          description: The url of the message.
        remote_created_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When the third party's conversation was created.
        remote_updated_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When the third party's conversation was updated.
        remote_was_deleted:
          type: boolean
          description: >-
            Indicates whether or not this object has been deleted in the third
            party platform. Full coverage deletion detection is a premium
            add-on. Native deletion detection is offered for free with limited
            coverage. [Learn
            more](https://docs.merge.dev/integrations/hris/supported-features/).
      title: Message
```