Skip to main content

Room Events

Webhook events about rooms, user sessions, plan limits, and recordings. Each one arrives in the standard webhook envelope with source: "room"; the tables below describe its data field.

room.created​

A room was created.

FieldTypeDescription
roomobjectThe room as returned by the Room API — id, name, slug, visibility, status, max_participants, default_role, created_at, expires_at, …
created_bystringID of the user who created it.

room.closed​

A room closed. All its remaining sessions end at the same moment, each with its own room.session.ended event.

FieldTypeDescription
reasonstringWhy the room closed (see below).
reasonMeaning
explicitYour backend or a host deleted the room.
idle_timeoutThe room was used, then stayed empty too long.
abandonedThe room was created but nobody ever joined.
expiredThe room reached its expires_at time.
force_closedEthioConnect support closed the room.
{
"id": "0193a1b2-7c4d-7e8f-9a0b-1c2d3e4f5a6b",
"type": "room.closed",
"source": "room",
"tenant_id": "6f1c…",
"room_id": "0193a1a0-…",
"occurred_at": "2026-11-28T09:14:03.512Z",
"data": { "reason": "idle_timeout" }
}

room.session.ended​

One user's time in a room ended. This is the event to use for per-user attendance and duration.

FieldTypeDescription
session_idstringThe session ID.
user_idstringThe user — the user_id you passed when minting their token.
joined_atstring (date-time)When they joined.
left_atstring (date-time)When they left.
duration_sintegerTime in the room, in seconds.
leave_reasonstringWhy the session ended, e.g. left, room_closed, media_absent (their media connection dropped and didn't come back).
platformstringClient platform, e.g. web, ios, android.
close_reasonstringPresent when leave_reason is room_closed: the room's close reason.
{
"type": "room.session.ended",
"data": {
"session_id": "0193a1a4-…",
"user_id": "usr_001",
"joined_at": "2026-11-28T08:30:11.204Z",
"left_at": "2026-11-28T09:02:47.990Z",
"duration_s": 1956,
"leave_reason": "left",
"platform": "web"
}
}

room.limit_reached​

A request hit one of your plan's limits — for example creating a room beyond your concurrent-room limit, or a join beyond the room's participant limit. Useful for alerting yourself before users notice. See Pricing for each plan's limits.

FieldTypeDescription
dimensionstringWhich limit, e.g. max_concurrent_rooms, max_participants_per_room.
limitintegerThe limit on your plan.
currentintegerThe usage at the time.
plan_codestringYour plan.
room_idstringThe room involved, when the limit is per room.

recording.started​

FieldTypeDescription
recording_idstringThe recording ID.
egress_idstringThe underlying recorder job ID — include it if you contact support.

recording.completed​

The recording has finished and is stored. Fetch it with the Room API.

FieldTypeDescription
recording_idstringThe recording ID.
duration_sintegerLength of the recording, in seconds.
size_bytesintegerFile size.