{
  "info": {
    "name": "ActiveMerge — mcp.ai",
    "description": "REST API for the ActiveMerge 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/active_merge",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "active_merge_generate_document",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/generate/document",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "generate",
            "document"
          ]
        },
        "description": "Start asynchronous document generation from a template and case-sensitive placeholder data. Each generation consumes ActiveMerge credits. Returns a job ID to monitor with Get Document Generations.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"data\": {},\n  \"format\": \"\",\n  \"template_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "active_merge_generate_images",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/generate/images",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "generate",
            "images"
          ]
        },
        "description": "Start an asynchronous image-generation job from inline JSON records. Each image consumes one ActiveMerge credit. Supports 1 to 2,000 images and returns a job ID to monitor with Get Image Generation.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"data\": \"\",\n  \"template_id\": 0,\n  \"field_mapping\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "active_merge_generate_workflow_documents",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/generate/workflow/documents",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "generate",
            "workflow",
            "documents"
          ]
        },
        "description": "Generate documents for every template in an ActiveMerge workflow using case-sensitive placeholder data. This operation consumes ActiveMerge credits and returns an output URL that expires after 24 hour",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"data\": {},\n  \"format\": \"\",\n  \"workflow_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "active_merge_get_credits",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/credits",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "credits"
          ]
        },
        "description": "Get total, used, remaining, plan, and prepaid ActiveMerge credits before running credit-consuming generation tools.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "active_merge_get_document_generations",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/document/generations",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "document",
            "generations"
          ]
        },
        "description": "Get one document-generation job by ID, or list and filter generation history when no job ID is supplied. Returns one history page at a time.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"job_id\": \"\",\n  \"status\": \"\",\n  \"date_to\": \"\",\n  \"date_from\": \"\",\n  \"page_size\": 0,\n  \"next_cursor\": \"\",\n  \"template_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "active_merge_get_document_template_placeholders",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/document/template/placeholders",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "document",
            "template",
            "placeholders"
          ]
        },
        "description": "Return the case-sensitive placeholder names required by one document template.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"template_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "active_merge_get_file_download_url",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/file/download/url",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "file",
            "download",
            "url"
          ]
        },
        "description": "Create a temporary download URL for a file in ActiveMerge cloud storage. This requires a Pro or higher plan with cloud storage enabled.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"file_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "active_merge_get_image_generation",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/image/generation",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "image",
            "generation"
          ]
        },
        "description": "Get an image-generation job's progress, credit usage, errors, and temporary ZIP download URL when complete.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"job_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "active_merge_get_image_templates",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/image/templates",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "image",
            "templates"
          ]
        },
        "description": "List image templates and basic placeholders, or get complete dimensions, positions, defaults, and styles for one template when template_id is supplied.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"template_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "active_merge_get_workflows",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/workflows",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "workflows"
          ]
        },
        "description": "List available ActiveMerge workflows, or return the case-sensitive placeholders for one workflow when workflow_id is supplied.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"workflow_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "active_merge_list_document_templates",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/document/templates",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "document",
            "templates"
          ]
        },
        "description": "List document templates available to the connected ActiveMerge account, including the unique template IDs needed for placeholder lookup and generation.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "active_merge_list_files",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/files",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "files"
          ]
        },
        "description": "List the immediate files and folders at the ActiveMerge cloud-storage root, or directly inside parent_folder_id when supplied. Cloud storage is a Pro+ feature; Free accounts may return an empty list.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"parent_folder_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "active_merge_save_generated_files",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/save/generated/files",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "save",
            "generated",
            "files"
          ]
        },
        "description": "Save non-expired output from a completed document-generation job to permanent ActiveMerge cloud storage. This requires a Pro+ plan and consumes one ActiveMerge credit per saved file.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"job_id\": \"\",\n  \"filename\": \"\",\n  \"folder_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}