Archive API docs
    Jump to

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

    Jump to examples ↓
    Query

    webhookSubscriptions

    List outbound-webhook subscriptions for the current workspace, newest first. Returns at most 1000 rows; this field is not paginated.

    Arguments

    This field takes no arguments.

    Returns

    Returns [WebhookSubscription!]! .

    Object, input and enum types open in place — use + to reveal their fields. A type that is already open above the row stops at a ↻ circular marker, and anything nested past the depth limit links out to its own page instead.

    consecutiveFailures Int!
    Consecutive failed deliveries since the last success. Resets to 0 on the next successful delivery.
    createdAt DateTimeWithZone!
    When the subscription was created.
    disabledAt DateTimeWithZone
    When the subscription was disabled by failures. Null while active/paused.
    eventTypes [String!]!
    Event types this subscription matches (e.g. content_view.item_added).
    id ID!
    Unique identifier of the subscription.
    lastSuccessAt DateTimeWithZone
    When the most recent successful delivery occurred. Null if none yet.
    metadata JSON!
    Opaque JSON object echoed back verbatim as subscription_metadata on every delivery envelope.
    name String!
    Display name of the subscription.
    status WebhookSubscriptionStatus!
    Current lifecycle status. ACTIVE delivers; DISABLED_BY_USER is a manual pause; DISABLED_BY_FAILURES is a system auto-disable triggered by a 410 Gone, 20 consecutive exhausted deliveries, or 3 days of continuous failure; re-enable with enableWebhookSubscription.
    updatedAt DateTimeWithZone!
    When the subscription was last updated.
    url String!
    HTTPS endpoint deliveries are POSTed to.
    viewIds [ID!]!
    Content View (FilterPreset) UUIDs whose newly matching items trigger deliveries.