Session Events API

This documentation describes how to interact with the Apizee API to retrieve events that occur during video sessions ("video-assistance").

Introduction

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

Authentication and Permissions

Access to these endpoints requires:

  • A valid Bearer token

  • Proper role permissions to access ticket data

See Authentication for a step by step documentation.

Rate limiting applies to all event endpoints. See Rate Limits for more details.

Event Model

Each event in the ticket timeline follows a common structure plus event-specific attributes.

Event-specific payload attributes

Depending on the event type triggered, the webhook payload will contain specific attributes:

Event type
Props value example

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

HTTP REST API to access to ticket's events

Get an event list for a ticket.

get
Authorizations
AuthorizationstringRequired

Please fill in the field with the token obtained after authentication using the /token method

Path parameters
ticketIdintegerRequired

ID of the wanted ticket

Responses
200

Good case

application/json
Responseany
get
/api/v3/tickets/{ticketId}/events

Listen to webhook callbacks

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.

How It Works

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.

Example Payload

Payload Fields

To get a complete list of the webhooks payload attributes and how to configure webhooks, please refer to Webhooks.

Last updated