{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Adds a new webhook to an App.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/realtimekit_account_identifier"},"app_id":{"$ref":"#/definitions/realtimekit_app_id"}},"required":["account_id","app_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/realtimekit_WebhookRequest"}},"required":["path","body"],"additionalProperties":false,"definitions":{"realtimekit_account_identifier":{"description":"The account identifier tag.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"realtimekit_app_id":{"description":"The app identifier tag.","type":"string","examples":["14a396e7-ca44-4937-bf1f-050a69118543"]},"realtimekit_WebhookRequest":{"type":"object","properties":{"enabled":{"description":"Set whether or not the webhook should be active when created","type":"boolean","default":true},"events":{"description":"Events that this webhook will get triggered by","type":"array","items":{"enum":["meeting.started","meeting.ended","meeting.participantJoined","meeting.participantLeft","meeting.chatSynced","recording.statusUpdate","livestreaming.statusUpdate","meeting.transcript","meeting.summary"],"type":"string"},"examples":[["meeting.started","meeting.ended","meeting.participantJoined","meeting.participantLeft","meeting.chatSynced","recording.statusUpdate","livestreaming.statusUpdate","meeting.transcript","meeting.summary"]]},"name":{"description":"Name of the webhook","type":"string","examples":["All events webhook"]},"url":{"description":"URL this webhook will send events to","type":"string","format":"uri","examples":["https://webhook.site/b23a5bbd-c7b0-4ced-a9e2-78ae7889897e"]}},"required":["name","url","events"]}}},"name":"Add a webhook","id":"cloudflare.addwebhook","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","app_id":"14a396e7-ca44-4937-bf1f-050a69118543"},"body":{"name":"All events webhook","url":"https://webhook.site/b23a5bbd-c7b0-4ced-a9e2-78ae7889897e","events":["meeting.started","meeting.ended","meeting.participantJoined","meeting.participantLeft","meeting.chatSynced","recording.statusUpdate","livestreaming.statusUpdate","meeting.transcript","meeting.summary"]}},"maxRequests":1,"summary":false}}