---
updatedAt: 2025-01-08T23:23:54.000Z
agentTools:
  projectIndex: https://dev.frontapp.com/llms.txt
---

# Attachment

An attachment is a file attached to a message or a comment.

## Properties

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Property
      </th>

      <th style={{ textAlign: "left" }}>
        Type
      </th>

      <th style={{ textAlign: "left" }}>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        `id`
      </td>

      <td style={{ textAlign: "left" }}>
        String
      </td>

      <td style={{ textAlign: "left" }}>
        ID of the file attached.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `name`
      </td>

      <td style={{ textAlign: "left" }}>
        String
      </td>

      <td style={{ textAlign: "left" }}>
        Name of the file.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `contentType`
      </td>

      <td style={{ textAlign: "left" }}>
        String
      </td>

      <td style={{ textAlign: "left" }}>
        MIME type of the file content.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `size`
      </td>

      <td style={{ textAlign: "left" }}>
        Number
      </td>

      <td style={{ textAlign: "left" }}>
        Size of the file content (in bytes).
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `inlineCid`
      </td>

      <td style={{ textAlign: "left" }}>
        String (optional)
      </td>

      <td style={{ textAlign: "left" }}>
        Identifier of the file in the message body, if inline.
      </td>
    </tr>
  </tbody>
</Table>