{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Create a new Webhook<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/create_webhook.json)","properties":{"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/WebhookCreateQuery"}},"required":["headers","body"],"additionalProperties":false,"definitions":{"WebhookCreateQuery":{"type":"object","properties":{"data":{"$ref":"#/definitions/WebhookCreateQueryResourceObject"}},"required":["data"]},"WebhookCreateQueryResourceObject":{"type":"object","properties":{"type":{"$ref":"#/definitions/WebhookEnum"},"attributes":{"type":"object","properties":{"name":{"description":"A name for the webhook.","type":"string","examples":["My Webhook"]},"description":{"description":"A description for the webhook.","type":["string","null"],"examples":["A webhook for sms events"]},"endpoint_url":{"description":"A url to send webhook calls to. Must be https.","type":"string","examples":["https://www.example.com/example/path"]},"secret_key":{"description":"A secret key, that will be used for webhook request signing.","type":"string","examples":["INSERT_SECRET_KEY"]}},"required":["name","endpoint_url","secret_key"]},"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":["webhook-topics"]}},"required":["type","attributes","relationships"]},"WebhookEnum":{"type":"string","enum":["webhook"]},"WebhookTopicEnum":{"type":"string","enum":["webhook-topic"]}}},"name":"Create Webhook","id":"klaviyo.create_webhook","example":{"headers":{"revision":"2026-10-15"},"body":{"data":{"type":"webhook","attributes":{"name":"My Webhook","endpoint_url":"https://www.example.com/example/path","secret_key":"INSERT_SECRET_KEY"},"relationships":{"webhook-topics":{}}}}},"maxRequests":1,"summary":false}}