跳到主要内容

Postman

The ONLYOFFICE DocSpace SDK for Postman is a simple Postman Collection for integrating with the ONLYOFFICE DocSpace API.

A Postman Collection is a structured format for organizing API requests.

The collection includes comprehensive API endpoints for managing groups, people, files, folders, rooms, and more in DocSpace.

ONLYOFFICE Postman Collection on GitHub

Installation

You can get the collection in one of the following ways:

Configuring variables

The collection uses variables that you need to set before making requests.

Go to your collection → Variables tab and fill in the following:

VariableDescriptionExample
baseUrlThe URL of your DocSpace instancehttps://your-docspace.onlyoffice.com
asc_auth_keyYour personal API keyyour-api-key-here
ApiKeyBearerThe key is passed via the Authorization headeryour-api-key-here
x-signatureJWT signature passed as a cookie. Obtain the token via POST /api/2.0/security/oauth2/tokenyour-api-key-here

To generate an API key, go to DocSpace Settings → Developer Tools → API Keys. For most use cases, asc_auth_key is the recommended method.