This documentation outlines the methods of the Window Proxy API for the uContact portal, which enables the portal to be embedded into any site via an iframe. This allows the host site to receive and send events to perform specific actions, such as being notified of incoming calls or making calls.
For uContact v6 instances, the URL will be https://instancedomain/uphone
Creating the iframe
Code Block | ||
---|---|---|
| ||
<iframe src="https://yourInstance.ucontactcloud.com/uphone/url" scrolling="no" allow="camera;microphone"> </iframe> |
allow attribute is required for calls and video calls
Event notifications
Messages will be sent to the parent page when these events occur:
...