Skip to main content

Cobrowse API

Cobrowse endpoints exposed by the Devotel CPaaS API Base path: /api/v1/cobrowse Endpoint count: 3

Get the co-browse session for a conversation

GET /api/v1/cobrowse/{conversationId}
Returns the current co-browse session stamped on the conversation (metadata.cobrowse), or null when no session has been initiated. The inbox detail panel polls this to render the ‘Co-browse available / live’ CTA and the agent join affordance.
string
required

End a co-browse session

POST /api/v1/cobrowse/{conversationId}/end
Terminates the co-browse session from the operator side (status=‘ended’, stamps ended_at + ended_by=‘agent’). Idempotent on an already-ended session. The visitor can independently end from the widget; either side ending stops the data room.
string
required

Join a live co-browse session

POST /api/v1/cobrowse/{conversationId}/join
Mints an orbit-media data-channel join token for the operator so they can view (and, when the visitor granted control, guide) the customer’s live browser session. The effective control grant is the AND of the agent’s requested control and the visitor’s stored consent — an observe-only session can never be escalated to guided control. Flips the session to ‘active’ and stamps the agent + start time. 404 when no joinable session exists (the visitor must initiate from the widget first). 503 when the media plane is not configured.
string
required
boolean
Request guided control (highlight / scroll / form-fill). Effective only when the visitor consented; otherwise the agent joins observe-only.