{
  "info": {
    "name": "DocRaptor — mcp.ai",
    "description": "REST API for the DocRaptor 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/docraptor",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "docraptor_create_async_doc",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/async/doc",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "async",
            "doc"
          ]
        },
        "description": "Tool to create documents asynchronously from HTML content. Use when generating PDF, XLS, or XLSX documents and you need to poll for completion status or use a callback URL for notification. Returns a ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"tag\": \"\",\n  \"help\": false,\n  \"name\": \"\",\n  \"test\": false,\n  \"strict\": \"\",\n  \"pipeline\": \"\",\n  \"referrer\": \"\",\n  \"javascript\": false,\n  \"callback_url\": \"\",\n  \"document_url\": \"\",\n  \"document_type\": \"\",\n  \"prince_options\": {},\n  \"document_content\": \"\",\n  \"hosted_expires_at\": \"\",\n  \"hosted_download_limit\": 0,\n  \"ignore_resource_errors\": false,\n  \"ignore_console_messages\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docraptor_create_doc",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/doc",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "doc"
          ]
        },
        "description": "Tool to create a PDF or Excel document synchronously from HTML content or URL. Use when you need to generate a document file from HTML data. The document is returned immediately as a downloadable file",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"tag\": \"\",\n  \"help\": false,\n  \"name\": \"\",\n  \"test\": false,\n  \"strict\": \"\",\n  \"pipeline\": \"\",\n  \"referrer\": \"\",\n  \"javascript\": false,\n  \"callback_url\": \"\",\n  \"document_url\": \"\",\n  \"document_type\": \"\",\n  \"prince_options\": {},\n  \"document_content\": \"\",\n  \"hosted_expires_at\": \"\",\n  \"hosted_download_limit\": 0,\n  \"ignore_resource_errors\": false,\n  \"ignore_console_messages\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docraptor_create_document_from_referrer",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/document/from/referrer",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "document",
            "from",
            "referrer"
          ]
        },
        "description": "Tool to convert webpages into documents using referrer-based authentication without an API key. Use when you need to generate PDFs or Excel files from registered domains without explicit API credentia",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"type\": \"\",\n  \"javascript\": false,\n  \"prince_option_media\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docraptor_create_hosted_async_doc",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/hosted/async/doc",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "hosted",
            "async",
            "doc"
          ]
        },
        "description": "Tool to create a hosted document asynchronously. Use when you need to generate a PDF, XLS, or XLSX document and track its completion status via callback_url or the status API.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"tag\": \"\",\n  \"help\": false,\n  \"name\": \"\",\n  \"test\": false,\n  \"strict\": \"\",\n  \"pipeline\": \"\",\n  \"referrer\": \"\",\n  \"javascript\": false,\n  \"callback_url\": \"\",\n  \"document_url\": \"\",\n  \"document_type\": \"\",\n  \"prince_options\": {},\n  \"document_content\": \"\",\n  \"hosted_expires_at\": \"\",\n  \"hosted_download_limit\": 0,\n  \"ignore_resource_errors\": false,\n  \"ignore_console_messages\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docraptor_get_async_doc",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/async/doc",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "async",
            "doc"
          ]
        },
        "description": "Tool to download a completed asynchronous document using the download URL from status response. Use when you have a download_id and need to retrieve the generated document file.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docraptor_get_async_doc_status",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/async/doc/status",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "async",
            "doc",
            "status"
          ]
        },
        "description": "Tool to check the status of an asynchronously created document. Use when monitoring progress of async documents by polling for completion status.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docraptor_list_documents_json",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/documents/json",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "documents",
            "json"
          ]
        },
        "description": "Tool to retrieve a paginated list of previously created documents with metadata in JSON format. Use when you need to see document creation history or query past documents.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"per_page\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docraptor_list_documents_xml",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/documents/xml",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "documents",
            "xml"
          ]
        },
        "description": "Tool to retrieve a paginated list of previously created documents with metadata in XML format. Use when you need to see document creation history or query past documents in XML format.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"per_page\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docraptor_list_ips_json",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/ips/json",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "ips",
            "json"
          ]
        },
        "description": "Tool to get list of IP addresses that DocRaptor uses to download assets. Use when you need to know which IPs DocRaptor uses for asset downloading. Note: Using IPs for securing assets is not recommende",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "docraptor_list_ips_text",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/ips/text",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "ips",
            "text"
          ]
        },
        "description": "Tool to retrieve a list of IP addresses that DocRaptor uses to download assets in plain text format. Use when you need to identify DocRaptor's IP addresses for network configuration or security purpos",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}