{
  "info": {
    "name": "PDFMonkey — mcp.ai",
    "description": "REST API for the PDFMonkey 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/pdfmonkey",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "pdfmonkey_create_document",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/document",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "document"
          ]
        },
        "description": "Tool to create a Document. Use when you need to instantiate a PDF from a template; set status='pending' to queue immediate generation. Ensure valid `document_template_id` is provided.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"document\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pdfmonkey_create_document_sync",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/document/sync",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "document",
            "sync"
          ]
        },
        "description": "Tool to create a document and wait for generation to finish. Use when immediate PDF is needed.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"document\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pdfmonkey_create_template",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/template",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "template"
          ]
        },
        "description": "Creates a new PDF document template in PDFMonkey. Use this to define reusable templates with HTML/Liquid content and CSS styles for generating PDF documents. Typical workflow: Create template → Previe",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"ttl\": 0,\n  \"body\": \"\",\n  \"app_id\": \"\",\n  \"settings\": {},\n  \"body_draft\": \"\",\n  \"identifier\": \"\",\n  \"scss_style\": \"\",\n  \"sample_data\": \"\",\n  \"edition_mode\": \"\",\n  \"pdf_engine_id\": \"\",\n  \"settings_draft\": {},\n  \"scss_style_draft\": \"\",\n  \"sample_data_draft\": \"\",\n  \"pdf_engine_draft_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pdfmonkey_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 its ID. Use when you need to permanently remove a document after confirming its ID. Returns 204 No Content on success.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pdfmonkey_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 delete a document template by ID. Use when you need to remove obsolete templates after validation.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pdfmonkey_download_document_file",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/download/document/file",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "download",
            "document",
            "file"
          ]
        },
        "description": "Tool to download a generated PDF file via a presigned URL. Use after obtaining a valid download_url from the Document details endpoint. Verify document status is 'success' (not 'draft' or 'pending') v",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"download_url\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pdfmonkey_get_current_user",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/current/user",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "current",
            "user"
          ]
        },
        "description": "Tool to retrieve details about the currently authenticated user. Use when you need account info (quota, plan, email, locale) after authentication.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pdfmonkey_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 fetch a Document by its ID. Returns the full document record including payload, meta, logs, and download URL. Note: download_url is time-limited; if a download attempt fails, call GetDocument ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pdfmonkey_get_document_card",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/document/card",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "document",
            "card"
          ]
        },
        "description": "Tool to fetch a DocumentCard by ID. Use when you have a DocumentCard ID and need its download URLs, status, and metadata. Use after generating or updating a DocumentCard.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pdfmonkey_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 fetch a Document Template by ID. Use when you need the template's content, styles, settings, and preview URL.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pdfmonkey_list_document_cards",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/document/cards",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "document",
            "cards"
          ]
        },
        "description": "Tool to list DocumentCards. Use when you need to retrieve multiple DocumentCards with optional pagination and filtering by template, status, workspace, or update time.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"status\": \"\",\n  \"page_number\": 0,\n  \"workspace_id\": \"\",\n  \"updated_since\": 0,\n  \"document_template_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pdfmonkey_list_pdf_engines",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/pdf/engines",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "pdf",
            "engines"
          ]
        },
        "description": "Lists all available PDF rendering engines in PDFMonkey. Returns engine IDs, version names, numeric versions, and deprecation status. Use this to select a PDF engine when creating templates or generati",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pdfmonkey_list_templates",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/templates",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "templates"
          ]
        },
        "description": "List all document template cards for a workspace. Use this action to: - Retrieve all templates available in a workspace - Filter templates by folder (or get only root folder templates with folders='no",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"sort\": \"\",\n  \"folders\": \"\",\n  \"workspace_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pdfmonkey_list_workspaces",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/workspaces",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "workspaces"
          ]
        },
        "description": "Tool to list workspaces (applications). Use when you need all available workspaces for the authenticated user after login.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pdfmonkey_preview_template",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/preview/template",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "preview",
            "template"
          ]
        },
        "description": "Fetches the template preview viewer page from PDFMonkey's preview_url. Returns an HTML viewer page that displays the rendered template draft. Use this after obtaining a template's preview_url via Get ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"preview_url\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pdfmonkey_update_document",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/document",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "document"
          ]
        },
        "description": "Updates an existing PDFMonkey document's payload, metadata, template, or status. Common use cases: - Modify document data (payload) before generation - Change the template used for the document - Add ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\",\n  \"document\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pdfmonkey_update_template",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/template",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "template"
          ]
        },
        "description": "Tool to update a document template’s properties. Use when you need to modify an existing template’s content, styles, settings, engine, folder, or TTL.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\",\n  \"ttl\": 0,\n  \"body\": \"\",\n  \"settings\": {},\n  \"body_draft\": \"\",\n  \"identifier\": \"\",\n  \"scss_style\": \"\",\n  \"sample_data\": \"\",\n  \"edition_mode\": \"\",\n  \"pdf_engine_id\": \"\",\n  \"settings_draft\": {},\n  \"scss_style_draft\": \"\",\n  \"sample_data_draft\": \"\",\n  \"template_folder_id\": \"\",\n  \"pdf_engine_draft_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "pdfmonkey_view_public_share_link",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/view/public/share/link",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "view",
            "public",
            "share",
            "link"
          ]
        },
        "description": "Tool to download a publicly shared PDF via its permanent share link. Use when the document's public_share_link is enabled to fetch the PDF file directly.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"token\": \"\",\n  \"filename\": \"\",\n  \"public_share_url\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}