WebhookDeliveryAttempt

One delivery attempt against the customer's webhook URL. Records the HTTP response (status code + body, truncated for storage) or the error if the request couldn't complete (DNS, connection reset, timeout). Always at least one attempt; subsequent attempts appear here as the retry policy fires.

  • attemptedAt
    Type: stringFormat: date-time

    When the attempt was made

  • attemptNumber
    Type: integer

    Attempt number (1-based)

  • duration
    Type: integer

    Request duration in milliseconds

  • errorMessage
    Type: string

    Reason the attempt failed when no HTTP response was received (e.g., ETIMEDOUT, ECONNREFUSED, getaddrinfo ENOTFOUND). Absent when the customer endpoint did respond — check responseStatus then.

  • responseBody
    Type: string

    Customer endpoint's response body, truncated. Absent when the request couldn't complete.

  • responseStatus
    Type: integer

    HTTP status code returned by the customer endpoint. Absent when the request couldn't complete (network error, timeout) — see errorMessage instead.