Skip to main content

SSE Routes

SSE (Server-Sent Events) allow a Web page to get updates form a server. More information at this page.

SSE are real-time updates sent to your application at many steps of the booking process (See the diagram).

The SSE establishes unidirectional communication, the server pushes changes as soon as they occur. There are no unnecessary calls from your application to the server.

We recommend that you use SSE routes if you need to track changes in the status of an object, such as the evolution of a ticket's waiting time or changes in the availabilities.

Get Information on Queues

SSE routes are available in the Queue Information section of the Booking API. They can be used at step 1 and 2 of the booking process.

They allow you to get real-time information on:

Get Information on Tickets

SSE routes are also available in the Ticket section of the Booking API. They can be used at step 3 of the booking process.

They allow you to:

  • Book a ticket and get real-time information on the user's progress in the queue. ⇾ Go to the route
  • Get real-time information on all the tickets of the current user each time an event occurs, including current and old tickets. ⇾ Go to the route
  • Postpone the ticket of the current user in real-time, using the ticket ID. ⇾ Go to the route