v58

latestOpenAPI 3.0.3agplraw.githubusercontent.com2026-08-01187461.6 MB
chat

Sends a rich-object to the given room

The author and timestamp are automatically set to the current user/guest and time.

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

Path parameters

apiVersion'v1' required
tokenstring required

Headers

OCS-APIRequestboolean required

Required to be true for the API request to pass

Request body

objectTypestring required

Type of the object

objectIdstring required

ID of the object

metaDatastring

Additional metadata, sample value: {\"type\":\"geo-location\",\"id\":\"geo:52.5450511,13.3741463\",\"name\":\"Nextcloud Berlin Office\",\"latitude\":\"52.5450511\",\"longitude\":\"13.3741463\"}

actorDisplayNamestring

Guest name

referenceIdstring

Reference ID

threadIdinteger

Thread id which this message is a reply to without quoting a specific message (also requires threads capability)

Response

Object shared successfully