Skip to content

Menu

  • Media
  • Pricing
  • Docs
  • Language: English

    This page isn’t available in the greyed-out languages.

    • English
    • Español
    • Português
    • Français
    • Deutsch
    • Italiano
    • Nederlands
    • Polski
    • 日本語
    • 한국어
    • Bahasa Indonesia
    • Tiếng Việt
    • Türkçe
    • العربية
    • ไทย
    • Български
    • Català
    • Hrvatski
    • Eesti
    • Magyar
    • Latviešu
    • Lietuvių
    • Srpski
    • Slovenčina
    • Slovenščina
    • Українська
    • Čeština
    • Română
    • Svenska
    • Dansk
    • Norsk bokmål
    • Suomi
    • עברית
    • हिन्दी
    • Tagalog
    • Bahasa Melayu
    • Ελληνικά
    • 简体中文
    • 繁體中文

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

How it works

  1. Upload each file straight to storage, with links the API gives you: in one send up to 5 GB, or in parts.
  2. Start a job: an operation such as video.compress, its settings and your files.
  3. Wait for the job to end. A webhook tells you, or you ask for its status.
  4. 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.

Base address

Every address starts with https://api.filesokay.com/v1. Every call uses HTTPS, and sends and receives JSON.

Make a first call

Listing the operations needs no key, so you can try it now:

curl https://api.filesokay.com/v1/operations
const 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()
Response
{
  "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.

Where to go next

  • 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.