Rate this page:


A scenario is a JavaScript code document that manages calls within the platform. The code is executed automatically upon receiving an incoming call or a corresponding Management API request. As mentioned earlier, the code has access to standard JavaScript (ES2017/2018) classes and functions and to the VoxEngine API.

Any Voximplant application can work with multiple scenarios to help developers segment their code to avoid the creation of large, hard to manage files. New scenarios are bound to one application by default, but it’s possible to convert scenarios to Shared scenarios that can be used across different applications.

Please note

To make your scenario work you have to create a rule. The Routing section will help you do that.