Upload a file you hold locally
upload_fileUploads file bytes (base64) into FileConvert and returns a 'file_id'. Use this when the file is not reachable by URL, then call start_conversion(file_id, source_format, target_format). For files reachable over http(s), convert_file is a single call instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | File name with extension, e.g. 'report.docx'. The extension helps the converter detect the format. | |
| content_base64 | Yes | The file bytes encoded as base64 (standard or URL-safe alphabet, padding optional). Up to 25 MiB decoded; larger files should be given to convert_file by URL. |