Back to APIs

Unified Agent API

File Conversion

File Conversion

Convert files between 200+ formats (PDF, DOCX, XLSX, images).

POST/v1/files/convert

Overview

Convert files between 200+ formats

Parameters

file_url

Required

string

URL to the source file.

source_format

Required

string

Source file format (e.g. docx, xlsx, html, web).

target_format

string (default: pdf)

Target format.

Example Response

{"success":true,"data":{"file_name":"document.pdf","file_size":523672,"file_url":"https://v2.convertapi.com/d/FILEID/document.pdf","conversion_time":2},"credits_used":2}

Get Started

Use this API through the O-mega platform. Create an API key in your dashboard, then call the endpoint with your key in the Authorization header.

Try File Conversion

Test File Conversion in the interactive playground. No setup required.

Open Playground
File Conversion API | Unified Agent APIs | suprsonic