Skip to main content
GET
/
webhooks
/
apps
/
{app_slug}
/
deliveries
/
replay
/
{task_id}
Get replay task status
curl --request GET \
  --url https://api.wacht.dev/webhooks/apps/{app_slug}/deliveries/replay/{task_id} \
  --header 'Authorization: <api-key>'
{
  "task_id": "webhook-replay-batch-123-456",
  "app_slug": "my-webhook-app",
  "status": "running",
  "created_at": "2023-11-07T05:31:56Z",
  "started_at": "2023-11-07T05:31:56Z",
  "completed_at": "2023-11-07T05:31:56Z",
  "total_count": 100,
  "processed": 50,
  "replayed_count": 48,
  "failed_count": 2,
  "last_delivery_id": 123
}

Authorizations

Authorization
string
header
required

API key authentication (format: Bearer {api_key})

Path Parameters

app_name
string
required

Webhook app name

task_id
string
required

Replay task ID

Response

Replay task status

task_id
string

Task ID

Example:

"webhook-replay-batch-123-456"

app_slug
string

Webhook app slug

Example:

"my-webhook-app"

status
enum<string>

Task status

Available options:
queued,
running,
completed,
cancelled,
failed
Example:

"running"

created_at
string<date-time> | null

Task creation time

started_at
string<date-time> | null

Task start time

completed_at
string<date-time> | null

Task completion time

total_count
integer

Total deliveries to process

Example:

100

processed
integer

Deliveries processed so far

Example:

50

replayed_count
integer

Successfully replayed

Example:

48

failed_count
integer

Failed to replay

Example:

2

last_delivery_id
integer | null

Last processed delivery ID