Operations
Operations are created via:Request schema (ExternalDoRequest)
action(required) – the operation to perform:"convert""compress""merge""zip""share""lock""unlock""reset_password"
file_keys(required) – array of one or more file keys returned by upload.parameters(optional) – action‑specific parameters (see below).notes(optional) – arbitrary key‑value metadata persisted alongside the external operation.
ExternalDoResponse):
main_task_id for status polling and correlating webhook notifications.
Create an operation
Supported operations
Before creating an operation, you can validate that a given extension and action are supported:SupportedOperationRequest / SupportedOperationResponse:
- Only
extprovided – returnsavailable_actionsfor that extension. ext+action– returnssupported+parametersmetadata, such as:- valid
convert_totargets forconvert - valid
compression_valueoptions forcompress
- valid
Action‑specific parameters
Convert
convert_to(required) – target format (e.g.pdf,png,docx).
- Document:
docx → pdf,pdf → docx,pptx → pdf. - Image:
jpg → png,png → webp. - Media:
mp4 → mp3,wav → mp3.
Compress
compression_value– compression level such asrecommended,high, orlow(see supported‑operation metadata).
Merge
Merges multiple compatible files (typically PDFs) into a single output file.Zip
Creates a zip archive containing the given files.Share
Generates shareable links for the specified files. Additional behavior may be controlled vianotes.