ONLYOFFICE DocSpace
Collaborative office: rooms, files, folders and users
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Your DocSpace addressRequiredDomain
- API keySecretRequired
Where to find them
- In DocSpace open “Developer Tools” → “API keys” and create a key with the required permissions.
- Enter your DocSpace address and the key.
Tools (1)
ONLYOFFICE DocSpace API request
ONLYOFFICE_SEND_REQUESTAuthenticated call to the ONLYOFFICE DocSpace API (https://{server}/api/2.0). Any endpoint of the API is allowed. Examples: GET /files/@my, GET /files/rooms, POST /files/rooms {"title": "…", "roomType": 2}, GET /files/{folderId}, GET /files/file/{fileId}, POST /files/{folderId}/file {"title": "Report.docx"}, GET /people.
Required scopes
No scopes required
Input
ONLYOFFICE DocSpace API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

