ウェブフックエンドポイントの配信一覧を取得
GET /v1/webhook-endpoints/{endpoint_id}/deliveries · 権限 webhook-endpoints:read · すべてのプラン
エンドポイントの過去 30 日間の配信履歴を、新しいものから順に(order=asc を指定すると古いものから順に)カーソルページング形式で返します。返されるのはメタデータのみで、ペイロードも受信側のレスポンス本文も一覧には含まれません。カーソルはエンドポイントと status・event_type のフィルタに紐づきます。
リクエスト
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
endpoint_id |
path | はい | ウェブフックエンドポイント ID(whe_…)。 |
status |
query | いいえ | pending、retrying、succeeded、abandoned または cancelled。 |
event_type |
query | いいえ | このイベントタイプの配信のみ。 |
limit |
query | いいえ | 1〜100、既定値は 20。 |
after, before |
query | いいえ | list_metadata のカーソル。 |
order |
query | いいえ | desc(既定)または asc。 |
レスポンス
200 OK
{
"data": [
{
"id": "whd_01k8a3m6r8t0v2w4x6y8z0b3d5",
"endpoint_id": "whe_01k8a3m5q7t9v1w3x5y7z9b2c4",
"event_id": "evt_01k8a3m7s9v1w3x5y7z9b2c4d6",
"event_seq": 1042,
"event_type": "user.created",
"replay_no": 0,
"status": "abandoned",
"attempt_count": 8,
"next_attempt_at": null,
"last_http_status": 500,
"last_error_class": "http_status",
"last_latency_ms": 312,
"created_at": "2026-10-25T08:00:00Z",
"completed_at": "2026-10-26T08:00:00Z"
}
],
"list_metadata": { "before": null, "after": "eyJ2IjoxLCJ…" }
}
エラー
| HTTP | code | 発生条件 |
|---|---|---|
| 400 | invalid_cursor |
カーソルの形式が不正か、別のエンドポイント、フィルタ、または順序に属しています。 |
| 404 | not_found |
この環境に該当するエンドポイントがありません。 |
| 422 | validation_failed |
/status invalid_value、/event_type invalid_value、パラメータの重複、または limit が 1〜100 の範囲外です。 |
| 401 | unauthenticated |
認証情報が見つからないか、無効または取り消されています。 |
| 403 | insufficient_permissions |
認証情報に webhook-endpoints:read の権限がありません。 |
| 503 | service_unavailable |
ウェブフックの管理機能が一時的に利用できません。Retry-After の期間を待ってから再試行してください。 |
例
curl "https://api.eu.keenauth.com/v1/webhook-endpoints/whe_01k8a3m5q7t9v1w3x5y7z9b2c4/deliveries?status=abandoned&limit=20" \
-H "Authorization: Bearer $KEENAUTH_SECRET_KEY"
CLI: keenauth webhook-endpoints deliveries list whe_01k8a3m5q7t9v1w3x5y7z9b2c4 --status abandoned --limit 20