{
  "info": {
    "name": "iLovePDF — mcp.ai",
    "description": "REST API for the iLovePDF 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/i_love_pdf",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "i_love_pdf_compress_images",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/compress/images",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "compress",
            "images"
          ]
        },
        "description": "Compress one or more images and immediately return the resulting image or ZIP as an offloaded download. This operation consumes processing credits and cleans up the provider task by default.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"files\": \"\",\n  \"region\": \"\",\n  \"keep_task\": false,\n  \"packaged_filename\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "i_love_pdf_compress_pdfs",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/compress/pdfs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "compress",
            "pdfs"
          ]
        },
        "description": "Compress one or more PDFs and return the stored PDF or ZIP output in one workflow: task creation, ordered uploads, synchronous processing, download, and best-effort cleanup. This operation consumes iL",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"files\": \"\",\n  \"region\": \"\",\n  \"password\": \"\",\n  \"keep_task\": false,\n  \"output_filename\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "i_love_pdf_convert_images_to_pdf",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/convert/images/to/pdf",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "convert",
            "images",
            "to",
            "pdf"
          ]
        },
        "description": "Convert one or more images into PDF output using iLovePDF's documented defaults and immediately return the generated PDF or ZIP as an offloaded download. Images retain their supplied order. This opera",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"files\": \"\",\n  \"region\": \"\",\n  \"keep_task\": false,\n  \"merge_after\": false,\n  \"output_filename\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "i_love_pdf_convert_pdf_to_images",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/convert/pdf/to/images",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "convert",
            "pdf",
            "to",
            "images"
          ]
        },
        "description": "Convert a PDF using iLovePDF's default PDF-to-JPG behavior and immediately return the generated image or ZIP as an offloaded download. This operation consumes processing credits and cleans up the prov",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"file\": {},\n  \"region\": \"\",\n  \"keep_task\": false,\n  \"packaged_filename\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "i_love_pdf_delete_task",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/task",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "task"
          ]
        },
        "description": "Immediately delete an iLovePDF task and its related uploaded and processed files from the task's assigned worker.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"task\": \"\",\n  \"worker_server\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "i_love_pdf_get_account_info",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/account/info",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "account",
            "info"
          ]
        },
        "description": "Return the connected iLovePDF project's account type and remaining processing allowance. Use this read-only action before processing files to check capacity.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "i_love_pdf_get_task_status",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/task/status",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "task",
            "status"
          ]
        },
        "description": "Inspect an iLovePDF task's current state and output metadata on its assigned worker. Use this for retained, externally created, or asynchronous tasks.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"task\": \"\",\n  \"worker_server\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "i_love_pdf_merge_pdfs",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/merge/pdfs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "merge",
            "pdfs"
          ]
        },
        "description": "Merge two or more PDFs in the supplied order and return the merged file in one workflow. This operation consumes processing allowance and creates a temporary provider task, which is deleted after offl",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"files\": \"\",\n  \"region\": \"\",\n  \"keep_task\": false,\n  \"output_filename\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "i_love_pdf_split_pdf",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/split/pdf",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "split",
            "pdf"
          ]
        },
        "description": "Split one PDF by explicit ranges, fixed page intervals, or removed pages and return the resulting PDF or ZIP. The action creates a task, uploads and processes the file, immediately offloads the result",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"file\": {},\n  \"ranges\": \"\",\n  \"region\": \"\",\n  \"keep_task\": false,\n  \"split_mode\": \"\",\n  \"fixed_range\": 0,\n  \"merge_after\": false,\n  \"remove_pages\": \"\",\n  \"packaged_filename\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}