{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Update the webhook with the given ID.<br><br>*Rate limits*:<br>Burst: `1/s`<br>Steady: `15/m`\n\n**Scopes:**\n`webhooks:write`\n\n[OpenAPI Spec](https://raw.githubusercontent.com/klaviyo/openapi/main/openapi/stable/apis/update_webhook.json)","properties":{"path":{"type":"object","properties":{"id":{"description":"The ID of the webhook.","type":"string"}},"required":["id"],"additionalProperties":false},"query":{"type":"object","properties":{"fields[webhook]":{"type":"array","items":{"type":"string","enum":["created_at","description","enabled","endpoint_url","id","name","updated_at"]},"description":"For more information please visit https://developers.klaviyo.com/en/v2026-10-15/reference/api-overview#sparse-fieldsets"}},"required":[],"additionalProperties":false},"headers":{"type":"object","properties":{"revision":{"type":"string","default":"2026-10-15","enum":["2026-10-15"],"description":"API endpoint revision (format: YYYY-MM-DD[.suffix])"}},"required":["revision"],"additionalProperties":false},"body":{"$ref":"#/definitions/WebhookPartialUpdateQuery"}},"required":["path","headers","body"],"additionalProperties":false,"definitions":{"WebhookPartialUpdateQuery":{"type":"object","properties":{"data":{"$ref":"#/definitions/WebhookPartialUpdateQueryResourceObject"}},"required":["data"]},"WebhookPartialUpdateQueryResourceObject":{"type":"object","properties":{"type":{"$ref":"#/definitions/WebhookEnum"},"id":{"description":"The ID of the webhook.","type":"string"},"attributes":{"type":"object","properties":{"name":{"description":"A name for the webhook.","type":["string","null"]},"description":{"description":"A description for the webhook.","type":["string","null"]},"endpoint_url":{"description":"A url to send webhook calls to. Must be https.","type":["string","null"],"examples":["https://www.example.com/example/path"]},"secret_key":{"description":"A secret key, that will be used for webhook request signing.","type":["string","null"]},"enabled":{"description":"Is the webhook enabled.","type":["boolean","null"]}}},"relationships":{"type":"object","properties":{"webhook-topics":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","required":["type","id"],"properties":{"type":{"$ref":"#/definitions/WebhookTopicEnum"},"id":{"description":"A list of topics to subscribe to.","type":"string","examples":["event:klaviyo.sent_sms"]}}}}}}}}},"required":["type","id","attributes"]},"WebhookEnum":{"type":"string","enum":["webhook"]},"WebhookTopicEnum":{"type":"string","enum":["webhook-topic"]}}},"name":"Update Webhook","id":"klaviyo.update_webhook","example":{"path":{"id":"example"},"headers":{"revision":"2026-10-15"},"body":{"data":{"type":"webhook","id":"example","attributes":{}}}},"maxRequests":1,"summary":false}}