v1

latestOpenAPI 3.0.3MIT2026-07-24122271451.2 KB
Documents

Append Content Library Item to a document

Appends a Content Library Item (CLI) to a document and provides a name mapping for its content blocks.

post/public/v1/documents/{id}/append-content-library-item

Path parameters

idstring required

Specify document id.

Request body

Example request

{
  "cli": {
    "id": "QYCPtavst3DqqBK72ZRtbF",
    "pages": [
      {
        "index": 1,
        "name": "Page 1"
      }
    ]
  }
}

Response

OK

Example response

{
  "cli": {
    "id": "QYCPtavst3DqqBK72ZRtbF",
    "pages": [
      {
        "index": 1,
        "name": "Page 1"
      }
    ]
  },
  "block_mapping": {
    "tables": [
      {
        "original_name": "Products_Table",
        "new_name": "Products_Table_1"
      }
    ],
    "pricing_tables": [
      {
        "original_name": "Services_Quote",
        "new_name": "Services_Quote"
      }
    ],
    "images": [
      {
        "original_name": "Hero_Image",
        "new_name": "Hero_Image_2"
      }
    ],
    "texts": [
      {
        "original_name": "Legal_Disclaimer",
        "new_name": "Legal_Disclaimer"
      }
    ]
  }
}