Skip to main content
Version: Next

WebhookRepresentationList

List of webhook representations with base64 encoding support.

Index

Methods

from_webhooks

  • Construct from a list of WebhookCreate models or plain dicts.

    Dicts are validated directly as WebhookRepresentation, so only the minimal ad-hoc webhook fields (event_types, request_url, and optionally payload_template/headers_template) are required.


    Parameters

    Returns WebhookRepresentationList

to_base64

  • to_base64(): str | None
  • Encode this list of webhook representations to a base64 string.

    Returns None if the list is empty, so that the query parameter is omitted.


    Returns str | None

Page Options