Get information required to make a knock event for a room.

GET {{baseUrl}}/make_knock/:roomId/:userId?ver=1,7

Asks the receiving server to return information that the sending server will need to prepare a knock event for the room.

Request Params

KeyDatatypeRequiredDescription
verstring(Required) The room versions the sending server has support for.

RESPONSES

status: OK

{"room_version":"7","event":{"$ref":"examples/minimal_pdu.json"}}