Viewing Recordings, Photos, and Sessions (aka Conversations)
How do I make the LiveSwitch conversations available in my application?
After creating a new Conversation record, you will be given a number of URLs. These URLs include one that is the "ConversationUrl" and one that is the "EmbeddedConversationUrl". These URLs are the landing point for any media associated with a Conversation. As media is added to or manipulated within a session (for example, recordings are started and stopped, photos are taken or uploaded, images are cropped or labelled, etc), this page will automatically be updated with the latest details.
If you wish to provide your users with a way to access their session media, we recommend one of two options.
Option 1: Link to LiveSwitch
This is the simplest option and is achieved by including a link to the ConversationUrl in your application, which your users can open in a new window.
<a href="https://app.contact.liveswitch.com/conversations/{conversationId}"> View Session Details</a>
Option 2: Embed LiveSwitch
Embedding the EmbeddedConversationUrl directly inline in your application allows your users to see their session details directly in your application. You can do this using an iframe such as:
<iframe src="https://app.contact.liveswitch.com/conversations/{conversationId}?embed=true"></iframe>
Users must be authenticated to LiveSwitch to access these pages. LiveSwitch will automatically refresh their session behind the scenes to ensure the page always stays visible while embedded in your application.
Updated 16 days ago