matrix_room

Create a Matrix room or a direct chat with a Matrix user

Changed on
post/ocs/v2.php/apps/spreed/api/{apiVersion}/matrix/room

Request

  • The document declares no server URL.
  • Auth
    • HTTP bearer
    • or HTTP basic

Path parameters

apiVersion'v1' required

Headers

OCS-APIRequestboolean required

Required to be true for the API request to pass

Request body

namestring

Name of the room, ignored for direct chats

topicstring

Topic of the room

invitesstring[]

Matrix user ids to invite

directboolean

Create a direct chat with the only invited user

Response

Room created, the token is null when the conversation is still created by another sync

Changes