Skip to main content
POST
Create Session Tokens

Authorizations

anchor-api-key
string
header
required

API key for your Anchor Browser account, sent as the anchor-api-key header on every request. Create one at app.anchorbrowser.io (API Access).

Path Parameters

session_id
string
required

The ID of the running session.

Body

application/json
scopes
enum<string>[]

Token scopes to mint. Omit or pass an empty list to mint every scope the session can serve: all three, only cdp on a headless session, and no live_view on a live_view.one_time_url session.

Available options:
live_view_read_only,
live_view,
cdp

Response

One URL per requested scope.

data
object