FileVerbs API Documentation - PowerPoint Manipulation

Word Conversions

PowerPoint Manipulation Features

The FileVerbs API supports various slide-level operations for PowerPoint presentations, allowing you to manage, edit, split, and export slides with flexibility.

Supported Actions

PowerPointSlideRange

Export only specific slides from the presentation. Use slide range syntax like "1-3,5".

{
  "action": "powerpointsliderange",
  "parameters": {
    "fileIds": ["your_file_id_here"],
    "options": {
      "slides": "1-3,5"
    }
  }
}

PowerPointAddWatermark

Add a watermark (text only) to all slides in a PowerPoint presentation using configurable styling options.

{
  "action": "powerpointaddwatermark",
  "parameters": {
    "fileIds": ["your_file_id_here"],
    "options": {
      "watermarkSettings": {
        "text": "Confidential",                  // [Required] The watermark text to display
        "fontSize": 20,                          // [Optional] Font size (default: 20)
        "foregroundColor": "#C80000",            // [Optional] Text color in HEX (default: #C80000)
        "horizontalAlignment": "bottom-right",   // [Optional] Options: top-left, top-right, center, bottom-left, bottom-right
        "verticalAlignment": "bottom",           // [Optional] top, center, bottom
        "opacity": 0.5,                          // [Optional] 0 to 1 (default: 0.5)
        "rotation": 0,                           // [Optional] Text rotation angle (in degrees)
        "isBackground": false                    // [Optional] If true, watermark is placed behind content
      }
    }
  }
}

Required: text inside watermarkSettings.

Optional: fontSize, alignment, opacity, and other styling parameters.

PowerPointMerge

Merge multiple PowerPoint files into a single presentation.

{
  "action": "powerpointmerge",
  "parameters": {
    "fileIds": ["file_id_1", "file_id_2"]
  }
}

PowerPointRemoveSlides

Remove specific slides from a presentation by index or range.

{
  "action": "powerpointremoveslides",
  "parameters": {
    "fileIds": ["your_file_id_here"],
    "options": {
      "slides": "2,4-5"
    }
  }
}

PowerPointSplitRange

Split a presentation into multiple smaller files based on slide ranges. Each range results in a separate output file.

{
  "action": "powerpointsplitrange",
  "parameters": {
    "fileIds": ["your_file_id_here"],
    "options": {
      "ranges": ["1-2", "3-4", "5"]
    }
  }
}

PowerPointExtractImages

Extract all images from slides and download them as a ZIP file.

{
  "action": "powerpointextractimages",
  "parameters": {
    "fileIds": ["your_file_id_here"]
  }
}

PowerPointReorder

Reorder slides in a presentation by specifying a new sequence of slide indexes.

{
  "action": "powerpointreorder",
  "parameters": {
    "fileIds": ["your_file_id_here"],
    "options": {
      "order": [3, 1, 2]
    }
  }
}