WebhookUpdate: {
    name?: string;
    state?: WebhookUpdateState;
    subscribed_events?: WebhookUpdateSubscribedEvent[];
    uri?: string;
}

Type declaration

  • Optionalname?: string

    Optional. The user-provided name of the webhook.

  • Optionalstate?: WebhookUpdateState

    Optional. The state of the webhook.

  • Optionalsubscribed_events?: WebhookUpdateSubscribedEvent[]

    Optional. 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
  • Optionaluri?: string

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