Session Events API
This documentation describes how to interact with the Apizee API to retrieve events that occur during video sessions ("video-assistance").
Last updated
This documentation describes how to interact with the Apizee API to retrieve events that occur during video sessions ("video-assistance").
Last updated
Apizee sessions can include interactions such as OCR scans, chat messages, media captures, or survey completions. Until now, this data was not accessible externally.
With the new Session Events API, all meaningful in-session actions are exposed via:
a REST API attached to each ticket
a webhook that triggers on each new event
These capabilities enable IT systems to:
Monitor what happens during video sessions
Automate processes based on session content
Archive or analyze interaction data
Access to these endpoints requires:
A valid Bearer token
Proper role permissions to access ticket data
See for a step by step documentation.
Rate limiting applies to all event endpoints. See Rate Limits for more details.
Each event in the ticket timeline follows a common structure:
id
string
Unique identifier for the event
eventName
string
Type of event
timestamp
string
ISO 8601 UTC timestamp of the event
source
string
agent
, guest
, or system
data
object
Event-specific payload
consent.accepted
ticket.sessionStarted
geo.ansAllowed
geo.ansDisallowed
ticket.approved
ticket.new
ticket.assigned
ticket.completed
ticket.cancelled
ticket.closed
mediaDevice.allowed
mediaDevice.disallowed
mediaDevice.cameraAllowed
mediaDevice.cameraDisallowed
mediaDevice.micAllowed
mediaDevice.micDisallowed
session.established
ticket.priorityChanged
ticket.invitationSent
ticket.invitationResent
ticket.invitationAccepted
ticket.invitationDeclined
ticket.invitationExpired
ticket.invitationClicked
ticket.invitationNotclicked
session.agentContacted
media.pictureTaken
media.pictureSent
survey.answered
session.agentLeft
session.userLeft
media.OCRDone
The conversationevent.create
webhook notifies your system in real time whenever a new event occurs during a video session linked to a support ticket. It enables your backend to react immediately to user interactions such as media capture, OCR scans, or survey responses.
Once configured, the webhook is triggered for each new event in a ticket's timeline. Your endpoint receives a POST
request with a JSON payload describing the event.
event
string
Action type (create
)
time
integer
Unix timestamp of the event
object
string
Always "conversationevent"
objectId
integer
Unique ID of the event
props
Detailed information about the event
eventType
string
Type of event (e.g., media.OCRDone
, ticket.new
)
ticketId
integer
ID of the ticket where the event occurred
conversationId
integer
ID of the video session (if applicable)
other fields..
varies
depends on the