POST
/
v1
/
sessions
JavaScript
import Anchorbrowser from 'anchorbrowser';

const client = new Anchorbrowser({
  apiKey: 'My API Key',
});

const session = await client.sessions.create();

console.log(session.data);
{
  "data": {
    "id": "<string>",
    "cdp_url": "<string>",
    "live_view_url": "<string>"
  }
}

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Body

application/json

Response

200
application/json

Successfully returned a browser object

The response is of type object.