Skip to main content

Events API

Query aggregated bot events across all your bots.

List Events

GET /events

Returns a paginated list of events from all bots belonging to the authenticated user.

Query Parameters

ParameterTypeDescription
pageintegerPage number (default: 1)
page_sizeintegerItems per page (default: 20, max: 100)
event_typestringFilter by event type
bot_idintegerFilter by specific bot
platformstringFilter by platform (google, zoom, teams)
start_datestringFilter events after this ISO date
end_datestringFilter events before this ISO date

Example

curl "https://api.meetbot.dev/v1/events?page=1&page_size=20&platform=google" \
-H "Authorization: Bearer YOUR_API_KEY"

Response

{
"events": [
{
"id": 42,
"botId": 5,
"botName": "MeetBot",
"platform": "google",
"eventType": "IN_CALL",
"eventTime": "2024-01-15T10:30:00Z",
"data": {
"meetingTitle": "Team Standup"
},
"createdAt": "2024-01-15T10:30:00Z"
}
],
"total": 150,
"page": 1,
"page_size": 20
}

Event Object

FieldTypeDescription
idintegerUnique event ID
botIdintegerBot that generated the event
botNamestringDisplay name of the bot
platformstringMeeting platform
eventTypestringType of event
eventTimedatetimeWhen the event occurred
dataobjectEvent-specific payload
createdAtdatetimeWhen the record was created

Event Types

Bot Lifecycle

Event TypeDescription
JOINING_CALLBot is attempting to join the meeting
IN_WAITING_ROOMBot is in the meeting waiting room
IN_CALLBot has joined the meeting
CALL_ENDEDMeeting has ended
DONEBot has completed its task
FATALAn unrecoverable error occurred

Recording Events

Event TypeDescription
RECORDINGRecording has started

Filtering Examples

# Events for a specific bot
curl "https://api.meetbot.dev/v1/events?bot_id=5" \
-H "Authorization: Bearer YOUR_API_KEY"

# Only error events
curl "https://api.meetbot.dev/v1/events?event_type=FATAL" \
-H "Authorization: Bearer YOUR_API_KEY"

# Events in a date range
curl "https://api.meetbot.dev/v1/events?start_date=2024-01-01&end_date=2024-01-31" \
-H "Authorization: Bearer YOUR_API_KEY"