Get information required to make a join event for a room

GET {{baseUrl}}/make_join/:roomId/:userId?ver=1,2

Asks the receiving server to return information that the sending server will need to prepare a join event to get into the room.

Request Params

KeyDatatypeRequiredDescription
verstringThe room versions the sending server has support for. Defaults
to [1].

RESPONSES

status: OK

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