Archive API docs
    Jump to

    Narrow by kind with a prefix — q: queries, m: mutations, t: types, g: guides, f: fields and arguments.

    Object

    WebhookEvent

    An immutable outbox row for one webhook-worthy occurrence in the workspace (the Stripe /v1/events pattern). Its id doubles as an idempotency key.

    Fields

    createdAt DateTimeWithZone!
    When the event was recorded.
    eventType String!
    The event type. content_view.item_added and operation.completed are the subscribable types; system types (subscription.disabled, subscription.deliveries_dropped) also appear in this outbox but are never subscribable. A sendWebhookTestEvent ping is recorded as subscription.ping with payload { ping: true, subscription_id, sent_at }; skip it when reconciling. Query the outbox to reconcile missed or dropped deliveries.
    eventVersion String!
    Schema version of the event payload (currently "1.0").
    id ID!
    Unique identifier of the event (also the idempotency key).
    payload JSON!
    The event payload as delivered to subscribers.