API roundup: latest updates for ONLYOFFICE DocSpace and Docs

9 September 2025By Ksenija

The recent updates for ONLYOFFICE DocSpace and Docs APIs bring a fresh wave of integration possibilities and development tools. Whether you’re building document workflows, creating custom plugins, or connecting ONLYOFFICE with your existing tech stack, these updates deliver practical solutions that save time and streamline development.

API roundup: latest updates for ONLYOFFICE DocSpace and Docs

DocSpace: Integration samples for Backend REST API

The latest DocSpace API update includes comprehensive integration examples that demonstrate real-world use cases. These aren’t just code snippets – they’re complete solutions you can adapt for your projects.

Trello integrations

Bi-directional user sync. Automatically sync users between DocSpace and Trello boards. This eliminates manual onboarding and ensures team consistency across platforms. Add DocSpace users to Trello / Add Trello users to DocSpace

Asset migration. Import Trello card attachments directly into DocSpace rooms. This scenario streamlines project handoffs and centralizes documentation.

Project structure mirroring. Create DocSpace rooms directly from Trello boards with matching titles. Perfect for maintaining unified project organization. Check the code sample:

import requests

# ONLYOFFICE DocSpace configuration
ONLYOFFICE_API_HOST = "your-docspace.onlyoffice.com"
ONLYOFFICE_API_KEY = "your_onlyoffice_api_key"

# Trello configuration
TRELLO_API_KEY = "your_trello_api_key"
TRELLO_TOKEN = "your_trello_token"
TRELLO_BOARD_ID = "your_board_id"

ONLYOFFICE_HEADERS = {
    "Authorization": f"Bearer {ONLYOFFICE_API_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json"
}

# Step 1: Get Trello board name
def get_trello_board_name(board_id):
    url = f"https://api.trello.com/1/boards/{board_id}"
    params = {"key": TRELLO_API_KEY, "token": TRELLO_TOKEN}
    response = requests.get(url, params=params)
    if response.status_code == 200:
        return response.json()["name"]
    else:
        print(f"Trello board fetch error: {response.status_code}")
        return None

# Step 2: Create a DocSpace room with board name
def create_docspace_room(room_title):
    url = f"https://{ONLYOFFICE_API_HOST}/api/2.0/files/rooms"
    payload = {
        "title": room_title,
        "roomType": 2,  # Collaboration room
        "private": True
    }
    response = requests.post(url, headers=ONLYOFFICE_HEADERS, json=payload)
    if response.status_code == 200:
        print(f"Room created: {room_title}")
        return response.json()
    else:
        print(f"DocSpace room creation error: {response.status_code}, {response.text}")
        return None

# Run integration
if __name__ == "__main__":
    board_name = get_trello_board_name(TRELLO_BOARD_ID)
    if board_name:
        create_docspace_room(board_name)

Cloud storage integrations

Dropbox connectivity. The new Dropbox integrations support both import and export workflows. Export files from DocSpace using presigned URLs for archiving or backup. Import files directly into specific rooms for centralized document management.

Folder sharing automation. Automatically share Dropbox folders with DocSpace users or group members, creating seamless collaboration bridges between platforms.

Notion and Asana workflows

Notion user integration. Sync Notion workspace users with DocSpace, ensuring consistent access across your documentation ecosystem.

Asana project automation. Generate DocSpace room structures based on Asana projects, with folders automatically created for each task. This creates perfect alignment between project management and document collaboration.

Task-based invitations. Automatically invite Asana task assignees to relevant DocSpace rooms, eliminating manual access management.

DocSpace: Enhanced Plugins SDK

The Plugins SDK receives significant updates with both advanced and basic samples to accelerate plugin development.

Advanced plugin samples

  • File extension filter plugin. Adds contextual filtering capabilities with a clean modal interface. Users can filter room contents by file type, improving navigation in document-heavy environments.
  • Modal dialog plugin. Demonstrates custom toolbar integration with backend API calls. Create new documents directly from the interface with user-defined parameters.
  • Settings plugin UI. Provides administrators with custom configuration interfaces, enabling fine-tuned control over plugin behavior.

Basic component samples

New basic samples cover essential UI components:

These samples provide the building blocks for more complex plugin development, with clear implementation patterns you can follow.

Docs: Customization

The new suggestFeature parameter gives you granular control over the newly added editor interface element.

const config = {
  editorConfig: {
    customization: {
...
suggestFeature: true,

This parameter controls the visibility of the “Suggest a Feature” menu button in the File tab. Set it to false for internal deployments where feature suggestions aren’t relevant, or keep it true to maintain user engagement with product development.

API roundup: latest updates for ONLYOFFICE DocSpace and Docs

Docs: New Office API examples

To support diverse use cases, we’ve introduced new document creation samples with practical applications.

  • Sequential numbers. Enhance table navigation and row referencing by adding sequential numbering to the first column.
  • Formatted table creation. Automatically format tables during creation by adding borders, styling headers, and aligning text within cells. Perfect for reports, database exports, or templates that require a polished and readable layout.
  • Spreadsheet with filters. Generate a spreadsheet featuring interactive header filters, enabling users to easily sort and filter data for seamless navigation and analysis.
  • Footer with date and company name. Automatically add a footer to your document featuring the current date on one side and your company name on the other. Ideal for standard formatting of memos, reports, letters, and templates.
  • Auto-width table. Generate a document with a table that dynamically adjusts column widths to fit the content perfectly.
  • Bulleted task list. Generate a document featuring a clear and organized bulleted list, perfect for outlining tasks, steps, or requirements.
  • Clearing all form values. Instantly reset all form fields in PDF to their initial state for reuse, quick clearing, or input cancellation.
  • Generating forms from JSON. Automatically create forms from JSON objects, with field types and structure determined by the data context.
  • Applying color scheme. Easily apply a unified color scheme across your entire presentation for a cohesive look.
  • Checking for duplicates. Detect and highlight duplicate values in a selected column, perfect for cleaning and analyzing data like customer lists, orders, or employee records.

Check all Office API samples

Docs: Plugins and macros

Explore the concept of the bundled plugin type in ONLYOFFICE. Such plugins remain active across all open documents and even persist in newly opened ones until you manually disable them. Simply click the Background plugins button on the top toolbar to manage them. Examples of such plugins include AI and QR Code Generator.

A plugin is considered bundled if:

  • it is included in the product distribution (server/desktop);
  • it has not been updated, removed, or disabled.

Starting from version 9.0.4, bundled background plugins start immediately.

API roundup: latest updates for ONLYOFFICE DocSpace and Docs

Besides, we have introduced an enhancement for custom functions – direct access to cell address information. This new capability allows for more dynamic and context-aware calculations, making your custom functions even more versatile.

  • this.address: Retrieves the address of the cell where the custom function is being calculated (e.g., “C5”).
  • this.args: Provides an array of input arguments. Each argument object includes an address field, which specifies the address of the source cell (e.g., “A1”). The array is structured as follows:
[
  {"address": "arg1_address"},
  {"address": "arg2_address"},
  ...
]

Create your free ONLYOFFICE account

View, edit and collaborate on docs, sheets, slides, forms, and PDF files online.