v58

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

Schedules the sending of a new chat message to the given room

The author and timestamp are automatically set to the current user and time. Required capability: scheduled-messages

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

Path parameters

apiVersion'v1' required
tokenstring required

Headers

OCS-APIRequestboolean required

Required to be true for the API request to pass

Request body

messagestring required

The message to send

sendAtinteger required

When to send the scheduled message

replyTointeger

Parent id which this scheduled message is a reply to

silentboolean

If sent silent the scheduled message will not create any notifications when sent

threadTitlestring

Only supported when not replying, when given will create a thread (requires threads capability)

threadIdinteger

Thread id without quoting a specific message (requires threads capability)

Response

Message scheduled successfully