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.
Path parameters
session_idstringRequired
format: "uuid"
Headers
X-Browser-Use-API-KeystringRequired
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
lastViewedAtstring or null
format: "date-time"
Timestamp of the last time the public share was viewed (None if never viewed)