Room participation
Get a single event by event ID.
Get a single event based on event_id. You must have permission to retrieve this event e.g. by being a member in the room for this event.
This endpoint was deprecated in r0 of this specification. Clients should instead call the /rooms/{roomId}/event/{eventId} API or the /rooms/{roomId}/context/{eventId} API.
get/_matrix/client/v3/events/{eventId}
Request
- Base URLhttps://matrix.org
- Auth
- API key in query parameter access_token
- or HTTP bearer
- TypeScripthttps://skmtc.dev/matrix/apis/matrix-client-server-api/docs/_matrix/client/v3/events/:eventId/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
eventIdstring mx-event-id required
The event ID to get.
Response
The full event.
Example response
{
"content": {
"membership": "join"
},
"event_id": "$26RqwJMLw-yds1GAH_QxjHRC1Da9oasK0e5VLnck_45",
"origin_server_ts": 1632489532305,
"sender": "@example:example.org",
"state_key": "@user:example.org",
"type": "m.room.member",
"unsigned": {
"age": 1567437,
"membership": "join",
"redacted_because": {
"content": {
"reason": "spam"
},
"event_id": "$Nhl3rsgHMjk-DjMJANawr9HHAhLg4GcoTYrSiYYGqEE",
"origin_server_ts": 1632491098485,
"redacts": "$26RqwJMLw-yds1GAH_QxjHRC1Da9oasK0e5VLnck_45",
"room_id": "!jEsUZKDJdhlrceRyVU:example.org",
"sender": "@moderator:example.org",
"type": "m.room.redaction",
"unsigned": {
"age": 1257
}
}
},
"room_id": "!jEsUZKDJdhlrceRyVU:example.org"
}Changes
No recorded changes to this operation across all 1 revision of this API.