Create Session Public Share
POST
https://api.browser-use.com/api/v2/sessions/:session_id/public-share
Create or return existing public share for a session.
Authentication
X-Browser-Use-API-Keystring
API Key authentication via header
Path Parameters
session_idstringRequired
format: "uuid"Response
Successful Response
shareTokenstring
Token to access the public share
shareUrlstring
URL to access the public share
viewCountinteger
Number of times the public share has been viewed
lastViewedAtdatetime or null
Timestamp of the last time the public share was viewed (None if never viewed)