Skip to main content
PATCH
/
v1
/
channels
/
{id}
/
matrix-room
Link a Matrix room
curl --request PATCH \
  --url https://api.magne.app/v1/channels/{id}/matrix-room \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "matrixRoomId": "<string>"
}
'
{
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Body

application/json
matrixRoomId
string

Response

Success