NewWacht Bench is live — AI-assisted development for Wacht

getWebhookReplayTaskStatus()

Loads state for one replay task in a webhook app.

Usage

The following example shows a basic usage of the backend client from @wacht/nextjs/server.

import { wachtClient } from '@wacht/nextjs/server';export async function example() {  const client = await wachtClient();  const appSlug: string = 'appslug';  const taskId: string = 'taskid-123';  return client.webhooks.getWebhookReplayTaskStatus(appSlug, taskId);}

Signature

function getWebhookReplayTaskStatus(  appSlug: string,  taskId: string,): Promise<ReplayTaskStatus>

Parameters

appSlug?: string | undefined;
Webhook app slug.
taskId?: string | undefined;
Replay task id.

Return value

task_id?: string | undefined;
Replay task id.
status?: string | undefined;
Replay task status value.
processed?: number | undefined;
Processed delivery count.
failed_count?: number | undefined;
Failed delivery count.

On this page