---
title: "Get webhook delivery metrics"
method: GET
path: "/api/projects/tunnels/{projectId}/webhooks/{webhookId}/metrics"
tags: ["webhooks"]
---

# Get webhook delivery metrics

`GET /api/projects/tunnels/{projectId}/webhooks/{webhookId}/metrics`

## Request

- Base URL: `https://rstream.io`
- URL: `https://rstream.io/api/projects/tunnels/{projectId}/webhooks/{webhookId}/metrics`
- Auth: HTTP bearer

## Path parameters

- `projectId` string, required
- `webhookId` string, required

## Query parameters

- `timeline` '24h' | '7d' | '30d'

## Response `200`

Successful response.

- TunnelsWebhookMetricsResponse
  - `buckets` object[], required
    - `timestamp` string, date-time, required
    - `succeeded` integer, required
    - `failed` integer, required
    - `avgResponseTimeMs` number, nullable, required
    - `p95ResponseTimeMs` number, nullable, required

## Other responses

- `400`: Request validation failed.
- `401`: Authentication is required.
- `403`: The token is not authorized.
- `404`: Webhook not found.

---

[API](https://skmtc.dev/rstream/apis/rstream-api.md) · [All operations](https://skmtc.dev/rstream/apis/rstream-api/llms.txt) · [OpenAPI document](https://skmtc.dev/rstream/apis/rstream-api/revisions/a840a2c91f22?raw)
