{
  "info": {
    "name": "FileToPDF.dev — mcp.ai",
    "description": "REST API for the FileToPDF.dev 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/filetopdf",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "filetopdf_convert_file_url_to_pdf",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/convert/file/url/to/pdf",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "convert",
            "file",
            "url",
            "to",
            "pdf"
          ]
        },
        "description": "Convert a file at a public HTTPS URL to PDF, consuming one conversion credit and returning a downloadable PDF. The URL path must end with a supported file extension. Check GET_ACCOUNT_STATUS for remai",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "filetopdf_convert_html_to_pdf",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/convert/html/to/pdf",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "convert",
            "html",
            "to",
            "pdf"
          ]
        },
        "description": "Render an HTML string as a PDF, consuming one conversion credit and returning a downloadable PDF. Check GET_ACCOUNT_STATUS for remaining credits.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"html\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "filetopdf_convert_markdown_to_pdf",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/convert/markdown/to/pdf",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "convert",
            "markdown",
            "to",
            "pdf"
          ]
        },
        "description": "Render a GitHub-Flavored Markdown string as a PDF. A successful conversion consumes one conversion credit and returns a downloadable PDF. Check GET_ACCOUNT_STATUS for remaining credits.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"markdown\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "filetopdf_get_account_status",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/account/status",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "account",
            "status"
          ]
        },
        "description": "Return the connected FileToPDF workspace plan, subscription status, and remaining conversion credits without consuming a credit.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}