## Update `webhooks.update(WebhookUpdateParams**kwargs) -> WebhookUpdateResponse` **put** `/api/account/webhooks` Replace all webhooks for the account. This overwrites existing webhooks. ### Parameters - `webhooks: Webhooks` - `call_log: Optional[SequenceNotStr[WebhooksCallLog]]` Webhooks for call log events - `str` - `class WebhookConfiguration: …` - `url: str` Webhook endpoint URL for receiving callbacks - `secret: Optional[str]` Secret for webhook signature verification - `contact_created: Optional[SequenceNotStr[str]]` Webhooks for contact created events (URL strings only) - `global_secret: Optional[str]` Global secret applied to all webhooks - `line_assigned: Optional[SequenceNotStr[WebhooksLineAssigned]]` Webhooks for line assigned events - `str` - `class WebhookConfiguration: …` - `url: str` Webhook endpoint URL for receiving callbacks - `secret: Optional[str]` Secret for webhook signature verification - `line_blocked: Optional[SequenceNotStr[WebhooksLineBlocked]]` Webhooks for line blocked events - `str` - `class WebhookConfiguration: …` - `url: str` Webhook endpoint URL for receiving callbacks - `secret: Optional[str]` Secret for webhook signature verification - `outbound: Optional[SequenceNotStr[WebhooksOutbound]]` Webhooks for outbound message status updates - `str` - `class WebhookConfiguration: …` - `url: str` Webhook endpoint URL for receiving callbacks - `secret: Optional[str]` Secret for webhook signature verification - `receive: Optional[SequenceNotStr[WebhooksReceive]]` Webhooks for inbound message events - `str` - `class WebhookConfiguration: …` - `url: str` Webhook endpoint URL for receiving callbacks - `secret: Optional[str]` Secret for webhook signature verification - `typing_indicator: Optional[SequenceNotStr[WebhooksTypingIndicator]]` Webhooks for typing indicator events - `str` - `class WebhookConfiguration: …` - `url: str` Webhook endpoint URL for receiving callbacks - `secret: Optional[str]` Secret for webhook signature verification ### Returns - `class WebhookUpdateResponse: …` - `message: Optional[str]` - `status: Optional[str]` - `webhooks: Optional[Webhooks]` - `call_log: Optional[List[WebhooksCallLog]]` Webhooks for call log events - `str` - `class WebhookConfiguration: …` - `url: str` Webhook endpoint URL for receiving callbacks - `secret: Optional[str]` Secret for webhook signature verification - `contact_created: Optional[List[str]]` Webhooks for contact created events (URL strings only) - `global_secret: Optional[str]` Global secret applied to all webhooks - `line_assigned: Optional[List[WebhooksLineAssigned]]` Webhooks for line assigned events - `str` - `class WebhookConfiguration: …` - `url: str` Webhook endpoint URL for receiving callbacks - `secret: Optional[str]` Secret for webhook signature verification - `line_blocked: Optional[List[WebhooksLineBlocked]]` Webhooks for line blocked events - `str` - `class WebhookConfiguration: …` - `url: str` Webhook endpoint URL for receiving callbacks - `secret: Optional[str]` Secret for webhook signature verification - `outbound: Optional[List[WebhooksOutbound]]` Webhooks for outbound message status updates - `str` - `class WebhookConfiguration: …` - `url: str` Webhook endpoint URL for receiving callbacks - `secret: Optional[str]` Secret for webhook signature verification - `receive: Optional[List[WebhooksReceive]]` Webhooks for inbound message events - `str` - `class WebhookConfiguration: …` - `url: str` Webhook endpoint URL for receiving callbacks - `secret: Optional[str]` Secret for webhook signature verification - `typing_indicator: Optional[List[WebhooksTypingIndicator]]` Webhooks for typing indicator events - `str` - `class WebhookConfiguration: …` - `url: str` Webhook endpoint URL for receiving callbacks - `secret: Optional[str]` Secret for webhook signature verification ### Example ```python import os from sendblue_api import SendblueAPI client = SendblueAPI( api_key=os.environ.get("SENDBLUE_API_API_KEY"), # This is the default and can be omitted api_secret=os.environ.get("SENDBLUE_API_API_SECRET"), # This is the default and can be omitted ) webhook = client.webhooks.update( webhooks={}, ) print(webhook.message) ```