Submit a signed join event to a resident server
PUT {{baseUrl}}/send_join/:roomId/:eventId
Note:
Servers should instead prefer to use the v2 /send_join
endpoint.
Submits a signed join event to the resident server for it to accept it into the room's graph. Note that events have a different format depending on the room version - check the room version specification for precise event formats. The request and response body here describe the common event fields in more detail and may be missing other required fields for a PDU.
Request Body
{"state_key"=>"@someone:example.org", "sender"=>"@someone:example.org", "origin"=>"matrix.org", "origin_server_ts"=>1234567890, "type"=>"m.room.member", "content"=>{"membership"=>"join"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
[200,{"origin":"matrix.org","auth_chain":[{"$ref":"examples/minimal_pdu.json"}],"state":[{"$ref":"examples/minimal_pdu.json"}],"event":{"$ref":"examples/pdu_v4_join_membership.json"}}]