{
  "info": {
    "name": "Craftmypdf — mcp.ai",
    "description": "REST API for the Craftmypdf 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/craftmypdf",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "craftmypdf_add_text_to_pdf",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/add/text/to/pdf",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "add",
            "text",
            "to",
            "pdf"
          ]
        },
        "description": "Tool to add text annotations to a PDF including page numbers, watermarks, and custom text at specified positions. Supports dynamic variables like {{pageNumber}} and {{totalPages}} for automatic page n",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\",\n  \"expiration\": 0,\n  \"output_file\": \"\",\n  \"textSettings\": \"\",\n  \"cloud_storage\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "craftmypdf_add_watermark",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/add/watermark",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "add",
            "watermark"
          ]
        },
        "description": "Tool to add a text watermark to a PDF with customizable font, size, color, opacity, and rotation. Use when you need to overlay watermark text (e.g., CONFIDENTIAL, DRAFT) on PDF documents. For more adv",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\",\n  \"text\": \"\",\n  \"opacity\": 0,\n  \"rotation\": 0,\n  \"font_size\": 0,\n  \"hex_color\": \"\",\n  \"expiration\": 0,\n  \"font_family\": \"\",\n  \"output_file\": \"\",\n  \"cloud_storage\": 0,\n  \"postaction_s3_bucket\": \"\",\n  \"postaction_s3_filekey\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "craftmypdf_create_editor_session",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/editor/session",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "editor",
            "session"
          ]
        },
        "description": "Tool to create an embeddable editor session URL for a template. Use when you need to embed the PDF editor for a specific template.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"backURL\": \"\",\n  \"canSave\": false,\n  \"jsonMode\": 0,\n  \"canPreview\": false,\n  \"expiration\": 0,\n  \"canEditJSON\": false,\n  \"canShowData\": false,\n  \"canShowHelp\": false,\n  \"template_id\": \"\",\n  \"canCreatePDF\": false,\n  \"canShowHeader\": false,\n  \"canShowLayers\": false,\n  \"canViewSettings\": false,\n  \"canShowExpressionDoc\": false,\n  \"canShowPropertyPanel\": false,\n  \"canShowPropertyBinding\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "craftmypdf_create_pdf_async2",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/pdf/async2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "pdf",
            "async2"
          ]
        },
        "description": "Tool to create a PDF file asynchronously with JSON data and template. Returns immediately with a transaction reference and makes an HTTP/HTTPS GET callback to webhook_url when the PDF is generated. Us",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"data\": \"\",\n  \"version\": \"\",\n  \"expiration\": 0,\n  \"template_id\": \"\",\n  \"webhook_url\": \"\",\n  \"cloud_storage\": 0,\n  \"resize_format\": \"\",\n  \"resize_images\": false,\n  \"resize_max_width\": 0,\n  \"resize_max_height\": 0,\n  \"image_resample_res\": 0,\n  \"postaction_s3_bucket\": \"\",\n  \"postaction_s3_filekey\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "craftmypdf_create_pdf_parallel",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/pdf/parallel",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "pdf",
            "parallel"
          ]
        },
        "description": "Tool to create multiple PDF files in parallel from templates with JSON data. Processes multiple PDF generation requests concurrently for improved performance. Optionally merges all generated PDFs into",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"merge\": false,\n  \"requests\": \"\",\n  \"merge_expiration\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "craftmypdf_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": "Tool to retrieve account information including subscription and usage details. Use when you need to check quota limits, template usage, or account creation date.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "craftmypdf_get_pdf_info",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/pdf/info",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "pdf",
            "info"
          ]
        },
        "description": "Tool to retrieve information about a PDF file including metadata, page count, and other properties. Use when you need to analyze PDF file structure or extract metadata without downloading the entire f",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "craftmypdf_list_templates",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/templates",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "templates"
          ]
        },
        "description": "Tool to retrieve a paginated list of PDF templates. Use when you need to browse available templates before generating a PDF.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"offset\": 0,\n  \"group_name\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "craftmypdf_list_transactions",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/transactions",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "transactions"
          ]
        },
        "description": "Tool to retrieve a paginated list of API transactions. Use when you need to view transaction history with pagination support.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"offset\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "craftmypdf_merge_pdfs",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/merge/pdfs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "merge",
            "pdfs"
          ]
        },
        "description": "Tool to merge multiple PDF files from URLs into a single PDF document. Use when you need to combine multiple PDF files into one consolidated document. The API fetches PDFs from the provided URLs and m",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"urls\": \"\",\n  \"expiration\": 0,\n  \"output_file\": \"\",\n  \"cloud_storage\": 0,\n  \"postaction_s3_bucket\": \"\",\n  \"postaction_s3_filekey\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "craftmypdf_query_template_usage",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/query/template/usage",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "query",
            "template",
            "usage"
          ]
        },
        "description": "Tool to retrieve usage statistics for specified templates within a date range. Use when you need to track PDF generation counts and credit consumption for specific templates.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"end_date\": \"\",\n  \"start_date\": \"\",\n  \"template_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "craftmypdf_update_pdf_fields",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/pdf/fields",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "pdf",
            "fields"
          ]
        },
        "description": "Tool to update fillable fields in a PDF document such as text fields, checkboxes, and dropdowns. Use when you need to programmatically fill out PDF forms by updating field values. The PDF must contain",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\",\n  \"fields\": \"\",\n  \"expiration\": 0,\n  \"output_file\": \"\",\n  \"cloud_storage\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}