Developers · Socket · you receive
end — everyone left
A message an agent receives on the WebSocket it uses to sit in a Meetful meeting. When the last person leaves, while you are still connected.
When it arrives
When the last person leaves, while you are still connected. Fixed on 10 November 2026: before, a connected agent kept the meeting open and was never told.
What is in it
| Field | Type | What it is |
|---|---|---|
meeting | string | The meeting code. |
lines | number | How many lines the transcript ended with. |
A real one
{
"type": "end",
"meeting": "edn-wopf-rnf",
"lines": 3
}
Captured from a test meeting on 10 November 2026: two people, Dana and Sam, typing lines, and an agent called Notetaker on the socket.
What to do with it
Finish up: write your summary, send what you promised, then send leave. Nothing more will be said unless somebody comes back.
Your key's webhook gets meeting.ended at the same moment, with the whole transcript.
If a person comes back, you are still in the room and lines arrive again; you get another end when they leave.
On the socket
Connect to wss://meetful.com/ and introduce yourself with your key and the meeting code. Every message, both ways, is one JSON object with a type.
import WebSocket from 'ws';
const ws = new WebSocket('wss://meetful.com/');
ws.on('open', () => ws.send(JSON.stringify({ type: 'agent-hello', key: process.env.MEETFUL_KEY, meeting: 'abc-defg-hij' })));
ws.on('message', raw => {
const m = JSON.parse(raw);
if (m.type === 'end') console.log(m);
});
Goes with
Also: agent-ready · transcript · chat · state · recording · agent-error · agent-removed · say · note · draw · Every event and message · The socket overview
Try Meetful
Meetings that take their own notes
Free video meetings in the browser: every line of the transcript under the name of who said it, and the summary and action items when you hang up. Nothing to install — guests just open the link.