Create new session
Changed onRequest
- Base URLhttps://api.hyperbrowser.ai
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Custom proxy server host.
Password for authenticating with the custom proxy server.
Username for authenticating with the custom proxy server.
Optional state code for proxies to US states. Is mutually exclusive with proxyCity. Takes in two letter state code.
Desired Country. Is mutually exclusive with proxyState. Some cities might not be supported, so before using a new city, we recommend trying it out
Region to run the session in. The asia-south region is only available on Enterprise and Select plans. Get in touch at https://calendly.com/shri-hyperbrowser/demo.
Optional CAPTCHA solver mode. Set to visual to use the visual reCAPTCHA solver.
enableWebRecording must also be true for this to work
Enable discovery and invocation of WebMCP tools exposed by pages in this browser session. Must be set when creating the session; disabled by default.
Example request
{
"proxyCity": "new york"
}Response
Session created
Changes
- info
added the optional property
/to the response with the status
- info
- info
added
subschema #4to the/request propertyoneOflist
- info