POST
/
api
/
v1
/
sessions
curl --request POST \
  --url http://localhost:3000/api/v1/sessions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "project_id": 5,
  "timeout": 60,
  "browser_settings": {
    "proxy": {
      "country": "jp"
    },
    "record_live": true
  }
}'
{
  "project_id": 5,
  "browser_settings": {
    "proxy": {
      "country": "jp"
    },
    "record_live": true,
    "live_url": "http://localhost:3000/session/inspector.html?wss=browser.emereg.com/devtools/page/803F10EB7C3970E4808993EDB1870FD2"
  },
  "timeout": 60,
  "started_at": "2024-08-14 05:47:21 +0000",
  "status": "STARTED",
  "created_at": "2024-08-14T13:47:16.368+08:00",
  "updated_at": "2024-08-14T13:47:21.682+08:00",
  "browser_id": "0787ef97-70d3-492a-a83a-f0408a21b115"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json · object

Response

201 - application/json
Created

The response is of type object.