Skip to main content

Meeting

Before you start

To receive these events, you need to have a webhook event receiver preconfigured. You also need to understand the basic structure of the events accompanying the message object. If you haven't done this yet, please refer to the Webhooks section to learn how to do it.

Events

MEETING_STATS

This event is triggered when a meeting ends and statistics are available.

Description of message object

The object message contains an array of meeting statistics. Each item in the array has the following properties:

PropertyTypeDescription
uuidstringUnique identifier for the meeting stats entry.
meetingIdstringIdentifier for the meeting.
groupIdstringIdentifier for the group associated with the meeting.
userIdstringIdentifier for the user who started the meeting.
startedAtstringISO 8601 timestamp of when the meeting started.
endedAtstringISO 8601 timestamp of when the meeting ended.
meetingMinutesnumberDuration of the meeting in minutes.
recordingMinutesnumberDuration of any recordings made during the meeting.
pricenumberCost associated with the meeting.
participantsarrayList of participants who joined the meeting.
createdBystringIdentifier of the user who created the meeting.

Each participant object in the participants array contains:

PropertyTypeDescription
uuidstringUnique identifier for the participant.
namestringName of the participant.
userIdstringUser identifier of the participant.
permissionstringPermission level of the participant.
meetingStatsIdstringIdentifier linking the participant to the meeting stats.
createdAtstringISO 8601 timestamp of when the participant joined.

Payload example

The following is an example of the payload sent when a meeting ends and stats are available:

{
"id": "f3a92b7c-8d61-4e77-a639-45d2c9f8e012",
"type": "MEETING_STATS",
"apiKey": "ab12cd34ef56gh78ij90kl12mn34op56",
"environment": "production",
"timestamp": "2024-03-15T14:30:22.789Z",
"message": [
{
"uuid": "9876dcba-5432-4321-abcd-ef0123456789",
"meetingId": "weekly-standup-2024-03-15",
"groupId": "dev-team-alpha",
"userId": "user-789012",
"startedAt": "2024-03-15T14:00:00.000Z",
"endedAt": "2024-03-15T14:30:00.000Z",
"meetingMinutes": 30,
"recordingMinutes": 28,
"price": 58,
"participants": [
{
"uuid": "abcd1234-5678-90ef-ghij-klmnopqrstuv",
"name": "Alice Johnson",
"userId": "alice.j",
"permission": "host",
"meetingStatsId": "9876dcba-5432-4321-abcd-ef0123456789",
"createdAt": "2024-03-15T13:59:45.123Z"
},
{
"uuid": "wxyz9876-5432-1098-7654-abcdefghijkl",
"name": "Bob Smith",
"userId": "bob.s",
"permission": "participant",
"meetingStatsId": "9876dcba-5432-4321-abcd-ef0123456789",
"createdAt": "2024-03-15T14:00:05.456Z"
},
{
"uuid": "mnop5678-9012-3456-7890-qrstuvwxyzab",
"name": "Charlie Brown",
"userId": "charlie.b",
"permission": "participant",
"meetingStatsId": "9876dcba-5432-4321-abcd-ef0123456789",
"createdAt": "2024-03-15T14:00:12.789Z"
}
],
"createdBy": "user-789012"
}
]
}