{
  "info": {
    "name": "Docugenerate — mcp.ai",
    "description": "REST API for the Docugenerate MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/docugenerate",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "docugenerate_delete_document",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/document",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "document"
          ]
        },
        "description": "Tool to delete a document by ID. Permanently removes the document from storage. Use when you need to clean up generated documents or remove outdated files from DocuGenerate.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docugenerate_delete_template",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/template",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "template"
          ]
        },
        "description": "Tool to permanently delete a template by ID. Removes the template and all associated versions from storage. Use when a template is no longer needed.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docugenerate_document_generate",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/document/generate",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "document",
            "generate"
          ]
        },
        "description": "Tool to generate document(s) from a template by merging JSON data or uploading a data file. Use when you need to programmatically produce one or more documents and receive metadata including a downloa",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"data\": \"\",\n  \"file\": {},\n  \"name\": \"\",\n  \"attach\": \"\",\n  \"merge_with\": \"\",\n  \"page_break\": false,\n  \"output_name\": \"\",\n  \"single_file\": false,\n  \"template_id\": \"\",\n  \"output_format\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docugenerate_document_update",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/document/update",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "document",
            "update"
          ]
        },
        "description": "Update a document's name/title in DocuGenerate. Use this to rename an existing document after it has been generated. Requires a valid document ID (obtained from document generation or listing) and the",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\",\n  \"name\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docugenerate_get_document",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/document",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "document"
          ]
        },
        "description": "Tool to retrieve a specific document by ID. Returns document metadata including name, format, template_id, and download URL. Use when you need to fetch details about an existing generated document.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docugenerate_get_template",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/template",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "template"
          ]
        },
        "description": "Tool to retrieve a specific template by ID. Returns template metadata including name, format, region, and configuration settings.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docugenerate_list_documents",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/documents",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "documents"
          ]
        },
        "description": "Tool to list all documents generated from a template. Results are ordered by created time in descending order. Use when you need to retrieve a list of previously generated documents for a specific tem",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"template_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docugenerate_template_get_or_list",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/template/get/or/list",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "template",
            "get",
            "or",
            "list"
          ]
        },
        "description": "Tool to retrieve or list existing templates. Use when needing template IDs and metadata before making updates or generating documents.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"per_page\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docugenerate_template_update",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/template/update",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "template",
            "update"
          ]
        },
        "description": "Tool to update a template’s file and settings. Use after confirming the template ID and desired inputs.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\",\n  \"file\": {},\n  \"name\": \"\",\n  \"region\": \"\",\n  \"versioning_enabled\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}