---
title: "Document object"
url: "https://help.internetx.com/en/api/core-document-object/"
lang: "en"
section: "API reference — API reference (XML/JSON)"
breadcrumb: "API documentation (JSON/XML) > Objects"
updated: "2023-09-27"
---

# Document object

## Description

The _Document_ object represents a document together with its file contents.

## Structure

| Keyword JSON | Keyword XML | Occurs | Type | Format | Description |
| --- | --- | --- | --- | --- | --- |
| id | id | 0 - 1 | integer | int64 | The Document object represents a document together with its file contents. |
| data | data | 0 - 1 | byte | Base64 | The file content of the document. |
| comment | comment | 0 - 1 | string |  | A comment on this document. |
| created | created | 0 - 1 | string | date-time | Date when the document was created. |
| updated | updated | 0 - 1 | string | date-time | Date when the document was last updated. |
| mimeType | mime\_type | 0 - 1 | string |  | The MIME type of the document. |
| size | size | 0 - 1 | integer | int64 | The size in bytes of the document. |
| name | name | 1 | string |  | The name of the document. |
| type | type | 1 | string |  | Type for the internal assignment of the document. |
|  | addon | 0 - 1 | string |  | Field for additional configuration. |
