external middleware. Provide the shared secret via the Authorization header (Bearer <EXTERNAL_TOKEN> or Token <EXTERNAL_TOKEN>) or a ?token= query parameter.
POST /api/external-session
Creates a disposable browser container that you control outside of the project-scoped session manager.
- Body
proxy is optional. When present it is validated with parseProxySettings.
- Response
GET /api/external-session/{id}/capture
Streams cookies captured during the session back to the caller.
- Auth – same token requirement as the create call.
- Response – array of cookie records identical to the ones stored in project sessions.
TemporarySessionResource.capture() under the hood, so it only returns data while the resource exists.