v58

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

Set the read marker to a specific message

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

Path parameters

apiVersion'v1' required
tokenstring required

Headers

x-nextcloud-federationstring

Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request

OCS-APIRequestboolean required

Required to be true for the API request to pass

Request body

lastReadMessageinteger nullable

ID if the last read message (Optional only with chat-read-last capability)

Response

Read marker set successfully