## Create webhooks `stream.webhooks.update(WebhookUpdateParams**kwargs) -> object` **put** `/accounts/{account_id}/stream/webhook` Creates a webhook notification. ### Parameters - `account_id: str` The account identifier tag. - `notification_url: str` The URL where webhooks will be sent. ### Returns - `object` ### Example ```python import os from cloudflare import Cloudflare client = Cloudflare( api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted ) webhook = client.stream.webhooks.update( account_id="023e105f4ecef8ad9ca31a8372d0c353", notification_url="https://example.com", ) print(webhook) ``` #### Response ```json { "errors": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "messages": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "success": true, "result": {} } ```