Returns participant events (join/leave) for a bot. Results are paginated using cursor pagination.
Authentication
Requires API key authentication via the Authorization header.
Path Parameters
Bot ID (e.g., bot_xxxxxxxxxxx)
Query Parameters
Cursor for pagination. Use the next value from the previous response to get the next page.
Only return participant events created after this time. Useful when polling for updates. Format: ISO 8601 datetime (e.g., 2024-01-18T12:34:56Z)
Only return participant events created before this time. Format: ISO 8601 datetime (e.g., 2024-01-18T13:34:56Z)
Response
URL for the next page of results, or null if no more results
URL for the previous page of results, or null if on first page
Array of participant event objects
Participant Event Object
Unique identifier for the event
User UUID (platform-specific persistent identifier)
Whether the participant is the meeting host
Type of event (e.g., ‘join’, ‘leave’)
Additional data about the event
Timestamp of the event in milliseconds
Example Request
curl https://app.attendee.dev/api/v1/bots/bot_weIAju4OXNZkDTpZ/participant_events \
-H "Authorization: Token YOUR_API_KEY_HERE" \
-H "Content-Type: application/json"
Example with Time Range
curl "https://app.attendee.dev/api/v1/bots/bot_weIAju4OXNZkDTpZ/participant_events?after=2024-01-18T12:34:56Z&before=2024-01-18T13:34:56Z" \
-H "Authorization: Token YOUR_API_KEY_HERE" \
-H "Content-Type: application/json"
Example with Polling
curl "https://app.attendee.dev/api/v1/bots/bot_weIAju4OXNZkDTpZ/participant_events?after=2024-01-18T12:34:56Z" \
-H "Authorization: Token YOUR_API_KEY_HERE" \
-H "Content-Type: application/json"
curl "https://app.attendee.dev/api/v1/bots/bot_weIAju4OXNZkDTpZ/participant_events?cursor=cD00ODY%3D" \
-H "Authorization: Token YOUR_API_KEY_HERE" \
-H "Content-Type: application/json"
Use the after parameter to poll for new participant events. This is useful for tracking when participants join or leave during an ongoing meeting.