Skip to content

Get started

O3O Office Online API documentation

Run O3O Office Online with Docker on your own server, embed the editor in a web application, connect it to Nextcloud and call the DocBuilder REST API to convert or generate documents.

On this page

O3O Office Online is a browser-based word processor, spreadsheet and presentation editor that you install on your own server. This documentation is for developers and system administrators: running the Docker stack, embedding the editor, connecting a storage system and calling the document-processing API.

The three parts you will use#

Browser · your applicationHTTP and WebSocket on port 8080o3o-proxy · nginx · port 8080Single entry point: routing, auth_request, admin pages blocked/browser /cool /hosting/o3o/ + auth_request/v1/o3o-online · 9980Collaborativeediting server (coolwsd)o3o-gate · 8070Connection counting, licenseO3O.Editor, internal WOPIo3o-docbuilder · 8060Convert, build, filltemplates, extract (soffice)WOPIsessionsWOPI: CheckFileInfo · GetFile · PutFilefile download, HMAC-signed callbacko3o-nextcloud · 8081 (optional)nextcloud profile: mariadb, redisYour application serverdocument.url, callbackUrlBrowser · your applicationHTTP and WebSocket on port 8080o3o-proxy · 8080nginx, single entry pointo3o-online · 9980Collaborative editing server/browser /cool /hostingo3o-gate · 8070Counting, license, embedding/o3o/ + auth_requesto3o-docbuilder · 8060Convert, build, extract/v1/o3o-nextcloud · 8081 (optional)WOPI with o3o-onlineYour application serverSource file and embed callbacks
The v1 Docker stack: a single entry point on port 8080 in front of the editing server, the o3o-gate control service and the DocBuilder service. Nextcloud is an optional profile for trying the integration. Details on Architecture and components.
ComponentMain jobPath through the proxy
Collaborative editor (o3o-online)Opens and edits .docx, .xlsx, .pptx, .odt and more in the browser, with several people editing one file./browser, /cool, /hosting
Control service (o3o-gate)Counts editing sessions and enforces the plan's connection limit, reads the license token, provides the O3O.Editor embedding layer and the internal WOPI host./o3o/
DocBuilder (o3o-docbuilder)Browser-less REST API: format conversion, building documents from o3oscript scripts, template filling, text, metadata and thumbnail extraction./v1/

Documentation sections#

Where to start#

You areRead first
A system administrator trying it on your own machineQuick start, then Architecture and components
An organisation already running NextcloudChoosing an integration, Nextcloud section
A web developer who wants documents to open inside your applicationChoosing an integration, O3O.Editor embedding section
A system that only needs automated conversion or generationChoosing an integration, DocBuilder-only section
A buyer or budget ownerEditions and feature differences

What v1 includes#

  • A DEV Docker stack started with one docker compose command: proxy, editing server, o3o-gate, DocBuilder, plus an optional nextcloud profile.
  • Concurrent editing sessions are counted and capped per plan; open sessions are never cut off and saves are never blocked.
  • The O3O.Editor embedding layer with 7 events and 5 methods, JWT HS256 signed configuration and HMAC SHA-256 signed save callbacks.
  • DocBuilder with 11 endpoints: conversion, o3oscript for text documents, spreadsheets and presentations, {{field}} template filling with table row repetition, text, metadata and thumbnail extraction.
  • Ed25519 license tokens verified offline for the enterprise edition.
Coming soon

An O3O Office Online image built from source (the release build), white-labelling for the enterprise edition, online license activation and renewal, language SDKs, version history in the embedding layer, charts in o3oscript, Prometheus metrics.

Conventions#

  • The sample server in every example is http://localhost:8080, the proxy of the Docker stack on your machine.
  • The sample DocBuilder key is kept in the O3O_DEMO_KEY environment variable. Replace it with a real key from the server's O3O_DOCBUILDER_API_KEYS.
  • Beta label: works but may change. Coming soon label: not part of v1, do not plan a rollout around it.
  • The Community and Enterprise labels on each endpoint show which edition can call it.
  • Performance figures (processing time, requests per second, memory) are not measured yet; the documentation gives no committed numbers until real measurements exist.

Report a problem or suggest an editO3O Office Online · API v1 · Page version 26.8.6