ONLYOFFICE DocSpace icon

ONLYOFFICE DocSpace

Consume ONLYOFFICE DocSpace API

Room → Get Room Shared Link

AI-generated

Summary

Retrieves the shared link information for a selected ONLYOFFICE DocSpace room by calling GET api/2.0/files/rooms/{roomId}/link.

Inputs

  • authentication (required) — Authentication method: API Key (default), Basic Auth, OAuth2, or Personal Access Token. Selects which DocSpace credential type is used and supplies the base URL.
  • roomId (required) — The room to get the shared link for. Pick from a searchable list of rooms, or enter the numeric ID manually (validated as digits).

Output shape

One output item per input item, containing the response object returned by the DocSpace room link endpoint (the room's shared link data).

The exact fields come from the DocSpace API and are not defined in the node. If Continue On Fail is enabled, a failed item outputs {error: message} instead of throwing. This is a read-only request and changes nothing in DocSpace.

Examples

Example 1: Fetch the public link of a room so it can be sent in a notification.

Authentication: API Key; Room ID: From List, choose the room. Use the output's link data in a later Slack or Email node.

Example 2: Get shared links for rooms whose IDs come from a previous step.

Room ID: Manual mode with an expression such as {{ $json.id }}; runs once per input item.

Links

Discussion