---
title: "DocumentContentBody"
url: "https://earlyaccess.developers.bynder.com/apis/text-authoring-api-1/versions/9849902d-3283-4e54-bd51-00051500650c/schemas/DocumentContentBody"
---

> Full API specification: https://earlyaccess.developers.bynder.com/apis/text-authoring-api-1/versions/9849902d-3283-4e54-bd51-00051500650c.md

# DocumentContentBody

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Text Authoring API
  version: 1.0.0
servers:
  - description: The $ACCOUNT should be your assigned subdomain or replace the whole
      URL if you have a custom domain.
    url: https://$ACCOUNT.bynder.com/api/1/authoring
    variables: {}
components:
  schemas:
    Resourcerepresentingthecontentinadocument1:
      properties:
        attributes:
          $ref: "#/components/schemas/Attributes"
        id:
          contentEncoding: uuid
          description: UUID identifier
          type: string
        type:
          const: document
          description: Resource type
          type: string
      required:
        - id
        - type
        - attributes
      title: Resourcerepresentingthecontentinadocument1
      type: object
    Attributes:
      properties:
        document:
          description: ProseMirror JSON Object
            (https://prosemirror.net/docs/ref/#model.Document_Structure)
          examples:
            - content:
                - content:
                    - text: Hello world.
                      type: text
                  type: paragraph
              type: doc
          type: string
        documentGroupId:
          description: The group id to which the document belongs. This is used to group
            documents together.
          examples:
            - group_id_1
          type: string
        html:
          description: HTML string
          examples:
            - <p>Hello world!</p>
          type: string
      title: Attributes
      type: object
    DocumentContentBody:
      properties:
        data:
          $ref: "#/components/schemas/Resourcerepresentingthecontentinadocument1"
      required:
        - data
      title: DocumentContentBody
      type: object
```
