---
title: "Get objects that are shared in the room"
method: GET
path: "/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/share"
tags: ["chat"]
---

# Get objects that are shared in the room

`GET /ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/share`

Federated conversations are supported with the `federated-shared-items` capability

## Path parameters

- `apiVersion` 'v1', required
- `token` string, required

## Query parameters

- `objectType` string, required
- `lastKnownMessageId` integer
- `limit` integer

## Headers

- `OCS-APIRequest` boolean, required

## Response `200`

List of shared objects messages returned

- object
  - `ocs` object, required
    - `meta` OCSMeta, required
      - `status` string, required
      - `statuscode` integer, required
      - `message` string
      - `totalitems` string
      - `itemsperpage` string
    - `data` object, required

## Changes

- **2026-03-31** `dc2b6567a07b` — 4 info
  - added the optional property `ocs/data/additionalProperties/allOf[subschema #2]/metaData/replyToActorDisplayName` to the response with the `200` status
  - added the optional property `ocs/data/additionalProperties/allOf[subschema #2]/metaData/replyToConversationName` to the response with the `200` status
  - added the optional property `ocs/data/additionalProperties/allOf[subschema #2]/metaData/replyToConversationToken` to the response with the `200` status
  - added the optional property `ocs/data/additionalProperties/allOf[subschema #2]/metaData/replyToMessageId` to the response with the `200` status
- **2026-02-09** `2dd98af77e49` — 2 info
  - added the optional property `ocs/data/additionalProperties/allOf[subschema #2]/metaData/threadId` to the response with the `200` status
  - added the optional property `ocs/data/additionalProperties/allOf[subschema #2]/metaData/threadTitle` to the response with the `200` status

[Change history](https://skmtc.dev/nextcloud/apis/spreed-full/changes/ocs/v2.php/apps/spreed/api/:apiVersion/chat/:token/share/get.md)

---

[API](https://skmtc.dev/nextcloud/apis/spreed-full.md) · [All operations](https://skmtc.dev/nextcloud/apis/spreed-full/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nextcloud/spreed-full/revisions/41d6458d6d6e/schema)
