WebhookInput: {
    name?: string;
    subscribed_events: WebhookSubscribedEvent[];
    uri: string;
}

A Webhook resource.

Type declaration

  • Optionalname?: string

    Optional. The user-provided name of the webhook.

  • subscribed_events: WebhookSubscribedEvent[]

    Required. The events that the webhook is subscribed to.

    Available events:

    • batch.succeeded
    • batch.expired
    • batch.failed
    • interaction.requires_action
    • interaction.completed
    • interaction.failed
    • video.generated
  • uri: string

    Required. The URI to which webhook events will be sent.