In short.
The Browser Use Webhooks guide is a practical reference for developers connecting browser-agent activity to application workflows, with notifications documented for V2 tasks and V3 sessions only. Its strongest detail is the exact JSON serialization required for HMAC-SHA256 verification. It also explains timestamp checks, duplicate handling and delivery timeouts, although the sample receiver leaves durable storage and deduplication to the implementer. No examples were executed or live deliveries assessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is the complete selected page at [https://docs.browser-use.com/cloud/guides/webhooks.md], including its general Cloud notices, webhook event table, payloads, signature verifier, FastAPI example, delivery guidance and Mintlify hosting notice. Linked documentation, pricing pages, SDKs, dashboard functionality, ngrok and service implementation are outside scope. V4 monitoring is referenced through links without a V4 webhook contract on this page. No code was executed or runtime behavior tested.
The overview
Identity
This is Browser Use’s Cloud Webhooks documentation at [https://docs.browser-use.com/cloud/guides/webhooks.md]. It teaches developers how to receive status notifications from hosted browser agents and authenticate those notifications. The notification unit depends on the API version: V2 tasks or V3 sessions.
Assessment
The guide provides useful implementation detail because signature verification depends on reproducing a specific Python serialization format. An otherwise plausible HMAC implementation can reject valid callbacks if it serializes the event differently.
Its general API notes describe V2 as legacy and V4 as the preferred version for new integrations, while the webhook contract covers V2 and V3. The guide therefore fits developers maintaining those integrations most directly. It does not establish a V4 webhook contract.
Users
The main audience is developers connecting Browser Use V2 or V3 activity to backend processing. Beginners receive concrete payloads and a small Python receiver, but need familiarity with HTTP requests, environment variables and running a web server.
Experienced developers will find the serialization rules and delivery constraints especially relevant. Application-specific persistence, duplicate detection and decisions about which statuses permit further work remain their responsibility.
Capabilities
The event table documents agent.task.status_update for V2 task changes with started, finished, stopped or failed status. Its example payload contains task_id, session_id, status and task metadata.
For V3, session.status.update uses the session’s id as payload.session_id and includes output when available. The dashboard can also send a test event. The guide supplies a Python verifier and a FastAPI POST receiver for the two status-event types.
Using it
Requirements
The integration needs access to the Cloud webhook settings, the signing secret and a reachable HTTP POST endpoint. The sample reads the secret from WEBHOOK_SECRET. A synchronized server clock matters because the verifier rejects deliveries outside its timestamp window.
The example uses Python standard-library modules for verification, plus FastAPI and Uvicorn for serving requests. Exact Python and dependency versions are unspecified. For local development, the page suggests exposing the server through ngrok.
Mechanism
Each delivery carries X-Browser-Use-Signature and X-Browser-Use-Timestamp. The signature is lowercase hexadecimal HMAC-SHA256. Its message consists of the delivery-header timestamp, a period and the canonical serialization of the entire event, including type, timestamp and payload, encoded as UTF-8.
Canonicalization follows Python json.dumps with sort_keys=True, separators=(',', ':') and ensure_ascii=True. The supplied verifier also rejects nonfinite JSON numbers through allow_nan=False. Non-ASCII characters are escaped. Signing the raw HTTP body or using sorted JavaScript JSON.stringify does not reliably reproduce this representation; Unicode handling, integer-like keys and numeric formatting can differ.
The verifier requires a timestamp of one to twelve decimal digits and a signature of exactly 64 lowercase hexadecimal characters. It accepts an absolute clock difference of at most 300 seconds and compares signatures with hmac.compare_digest. The timestamp check limits replay opportunities but does not identify duplicate deliveries.
Setup
The documented setup places webhook_verify.py beside app.py, installs fastapi and uvicorn, sets WEBHOOK_SECRET to the dashboard signing secret and starts the sample with uvicorn app:app --port 3000.
Configure the receiver’s /webhook address at [https://cloud.browser-use.com/settings?tab=webhooks]. For a local server, the guide suggests ngrok http 3000 and registering the resulting public /webhook address. Its dashboard test action provides an initial configuration check; successful real task or session delivery remains a separate validation step.
Example
The V3 example carries session.status.update, identifies session_xyz, reports idle and includes an output string. An application receiving such an event would verify it, durably accept it and interpret its status before deciding whether to continue work. The page warns that a status change is not automatically completion.
The supplied FastAPI handler returns HTTP 401 when verification fails. For recognized status events, it prints the session ID and status, then returns an OK response. Durable persistence, queueing and deduplication appear as implementation comments; the sample does not implement them.
Assessment & evidence
Limitations
The sender has a 10-second request timeout and retries temporary failures, so slow processing can produce duplicate deliveries. HTTP 400, 401, 403, 404 and 410 are not retried. Retry schedules, maximum attempts, ordering guarantees and a unique delivery identifier are not specified.
The five-minute timestamp window does not provide duplicate protection. The page also does not enumerate the complete V3 status vocabulary or establish how every status maps to successful completion. Actual delivery reliability, signature interoperability and deployment behavior were not tested.
Fit reasoning
The documented callbacks fit applications that need to react to V2 task or V3 session changes: the payload supplies an identifier and status that the receiver can associate with application work.
The main implementation burden is reliable acceptance. Exact signature verification establishes authenticity under the documented contract, while durable storage and idempotent business actions address retries and repeated notifications. The page provides no latency benchmarks or comparative reliability measurements.
Alternatives
For V4 run monitoring, the guide points to Observability [https://docs.browser-use.com/cloud/agent/observability.md] and polling guidance [https://docs.browser-use.com/cloud/guides/concurrency.md#budget-http-requests-separately]. These are the version-specific monitoring references identified by the page.
Their contents are outside the supplied evidence. Their exact interfaces, implementation requirements and tradeoffs against callbacks are therefore not assessed.
Evidence
The evidence is the complete captured provider page at [https://docs.browser-use.com/cloud/guides/webhooks.md]. It contains the event table, payload examples, Python verifier, FastAPI receiver and delivery caveats. These support an explanation of the documented contract, but do not demonstrate observed service behavior.
The supplied source revision is sha256:4ad87c71545e3cee1bfa86ff64c75ce203cb3bce4090ff5ee1be98d01874f6de. No code was executed, webhook received or dashboard configuration exercised.
Access & freshness
Costs
The page does not specify a webhook-delivery fee, receiver-hosting price or cost for the optional tunnel. Those costs are unknown from this evidence.
Its general Cloud notices describe usage-based billing, but do not establish the total cost of this integration. No workload-specific estimate or measured savings from replacing polling is supported.
Rights
No explicit licence or redistribution grant for the documentation or embedded Python examples appears in the captured page. Their reuse and redistribution terms are unknown from this evidence.
Freshness
The page was captured on 2026-11-14 at 21:48:08.734 UTC. No publication or last-updated date for the guide is supplied. The example events’ September 2026 timestamps do not establish when the guide changed.
Changes after capture and whether the live service matches every documented detail are unknown.
Next steps
First establish whether the application uses V2, V3 or V4. For V4, consult the referenced monitoring documentation before planning a webhook receiver. For V2 or V3, reproduce the signing format exactly and add durable acceptance and idempotent processing to the sample.
Before relying on the integration, validate dashboard pings and real status transitions, altered and stale messages, Unicode and numeric serialization cases, duplicate deliveries and persistence failures. Confirm the statuses that should trigger business actions and the retry behavior relevant to the application.
