FilesOkay API
Convert, compress, edit and process files from your own code. The FilesOkay API runs the same file tools as the FilesOkay Workspace, across documents, images, video, audio and more.
On this page
- Upload each file straight to storage, with links the API gives you: in one send up to 5 GB, or in parts.
- Start a job: an operation such as
video.compress, its settings and your files. - Wait for the job to end. A webhook tells you, or you ask for its status.
- Download the results from the links the job gives you.
Jobs run in the background, so no request stays open while a file is processed.
Every address starts with https://api.filesokay.com/v1. Every call uses HTTPS, and sends and receives JSON.
Listing the operations needs no key, so you can try it now:
curl https://api.filesokay.com/v1/operationsconst res = await fetch("https://api.filesokay.com/v1/operations");
const list = await res.json();import requests
res = requests.get(
"https://api.filesokay.com/v1/operations",
)
list = res.json(){
"operations": [
{
"id": "video.compress",
"category": "video",
"name": "Video Compressor",
"description": "Makes videos smaller. Choose a quality level, or a target size in MB or as a percentage of each file's size.",
"grouping": "separate",
"output": "file",
"max_files": 50,
"input_formats": [
"mp4",
"m4v",
"mpg4",
"mpeg4",
"f4v",
"mov",
"qt",
"3gp",
"…"
],
"limits": {
"max_file_bytes": 53687091200
}
}
]
}Every call except listing and reading operations needs an API key, and a Workspace with an active subscription.
- Quickstart
Upload a file, run a job and download the result, step by step.
- Authentication
Create an API key and send it with every call.
- Webhooks
Get a signed message the moment a job ends.
- Error codes
Every error code, and what to do about it.
- Jobs
Every jobs endpoint, with its fields and examples.
- OpenAPI file
The whole API as one OpenAPI 3.1 file, for Postman, code generators and your own tools.