schema:WebhookDeliveryData.
Fields
id(required)webhook_id(required)event_type(required)source_scope(required, nullable)source_project_id(required, nullable)source_route_id(required, nullable)status(required)sandbox(required)attempt_number(required)http_status_code(required, nullable)duration_ms(required, nullable)payload(required): Omitted when the user cannot view the delivery's content. Always included in requests made with a team API token.response_body(required, nullable): Omitted when the user cannot view the delivery's content. Always included in requests made with a team API token.response_headers(required, nullable): Omitted when the user cannot view the delivery's content. Always included in requests made with a team API token.error_message(required, nullable): Omitted when the user cannot view the delivery's content. Always included in requests made with a team API token.delivered_at(required, nullable)timestamp(required)next_retry_at(optional, nullable): When the next automatic retry is due. Null when none is scheduled
Absent fields are :unset; nil is JSON null. extra holds response fields that this version of the SDK does not know.
Summary
Types
@type t() :: %Lettermint.Types.WebhookDeliveryData{ attempt_number: integer(), delivered_at: String.t() | nil, duration_ms: integer() | nil, error_message: String.t() | nil, event_type: Lettermint.Types.WebhookEvent.t(), extra: %{optional(String.t()) => term()}, http_status_code: integer() | nil, id: String.t(), next_retry_at: String.t() | nil | :unset, payload: [String.t()], response_body: String.t() | nil, response_headers: [String.t()] | nil, sandbox: boolean(), source_project_id: String.t() | nil, source_route_id: String.t() | nil, source_scope: String.t() | nil, status: Lettermint.Types.WebhookDeliveryStatus.t(), timestamp: String.t(), webhook_id: String.t() }