UserView

Documentation

How It Works

AICopy for LLM

UserView allows one person (the Viewer) to view the screen of another person (the Visitor) in real-time.

Key Concepts

Visitor

The person whose screen is being shared. The Visitor has the SDK installed on their web page or app, and their screen is captured and streamed to the Viewer. See the Visitor object.

Viewer

The person viewing the Visitor's screen. You identify the Viewer with the viewer object (viewer.id is required, viewer.name is optional) when you request a watch link or a viewer token. A Viewer does not need a UserView account.

Session

A screen sharing session between one Visitor and one or more Viewers. Sessions are temporary: one ends when the Visitor disconnects, when it is stopped, or when the last Viewer keeping it alive leaves. See the Session object.

Connection

A single active Visitor connection, such as an open browser tab or a mobile app instance. A Visitor can have more than one Connection at a time, and the Viewer can switch between them during a Session. See the Connection object.

Integration Steps

1. Install the SDK

Add the SDK to the pages or app screens you want to be shareable. See the SDK documentation for platform-specific installation guides.

2. Identify the Visitor

To connect a Viewer to a specific Visitor, you need a way to identify them. You have several options:

MethodDescription
Short IDGet the Upscope-generated ID via Upscope('getShortId') and pass it to your Viewer-side code
Unique IDUse your own identifier (e.g., user ID from your database) by passing it as uniqueId
Integration IDUse an ID from another platform (e.g., Intercom, Zendesk) via integrationIds
Lookup CodeHave the Visitor read a 4-digit code to the Viewer over the phone

If you are using anything other than the Short ID to identify the Visitor, first use the search endpoint to get their Short ID.

3. Start a Session

Once you have a Visitor identifier, create a session using the REST API:

  1. Call the start session endpoint with the Visitor's Short ID
  2. Receive a watch_url in the response
  3. Redirect the Viewer's browser to this URL

To embed the Visitor's screen in your own application instead of opening the hosted watch page, request a viewer token and render it with the Viewer SDK.

What's Next?