Create Session
Creates a new session and returns session details including a unique session ID. A session remains active for 10 minutes of inactivity.
Headers
X_MULTION_API_KEY
Request
This endpoint expects an object.
url
The URL to create or continue session from.
local
Boolean flag to indicate if session to be run locally or in the cloud (Default: False). If set to true, the session will be run locally via your chrome extension. If set to false, the session will be run in the cloud.
agent_id
The agent id to use for the session.
mode
The mode you would like to use for the session. 'fast' or 'standard'
Allowed values:
use_proxy
Boolean flag to use a proxy for the session (Default: False). Each Session gets a new Residential IP.
browser_params
Object containing height and width for the browser screen size.
include_screenshot
optional_params
Additional optional parameters for the session.
Response
This endpoint returns an object.
status
The final status of the browsing session. One of [“CONTINUE”, “ASK_USER”, “DONE”]
message
A message providing more details about the session status.
session_id
The unique identifier for the session.
url
The URL associated with the session.
screenshot
image url of the screenshot taken during the session.