# Webhookの一覧

Source: https://won.dev/ja/docs/email/webhooks-list

`GET https://api.won.dev/v1/webhooks`

Webhookを古い順に、それぞれがまだ有効かどうかとともに返します。無効になったものは、`disabled_reason` で理由がわかります。無料です。

- **課金：** 無料。

テストキー（`won_test_...`）では、これは[サンドボックス](/ja/docs/email#sandbox)で動きます。何も送信されず、課金もされません。

## パラメーター [#parameters]

このエンドポイントにはパラメーターがありません。

## レスポンス [#response]

エラーについては[エラーコード](/ja/docs/errors)を参照してください。

| フィールド | 型 | 説明（APIの原文） |
| --- | --- | --- |
| `data` | object[] |  |
| `data[].id` | string | Webhook ID, such as `whk_2m9x7p1q8w3e5r4k`. |
| `data[].url` | string |  |
| `data[].events` | string[] |  |
| `data[].campaign_id` | string \| null |  |
| `data[].status` | `enabled` \| `disabled` |  |
| `data[].disabled_reason` | string \| null |  |
| `data[].metadata` | object | Your own keys and values, as you gave them. Empty when none were. |
| `data[].created_at` | string | When it was created, as an ISO 8601 time in UTC. |
| `notice` | string \| null | A plain sentence when there is something to know about this answer. Null otherwise. |
| `usage` | object | Nothing is charged here. The balance, for reference. |
| `usage.cost` | number | What this call cost, in US dollars. |
| `usage.balance` | number | The balance left after this call, in US dollars. |
| `usage.replayed` | boolean | True when this is a repeat of a request from the last 24 hours. Repeats are free. |

## 例 [#example]

```bash
curl "https://api.won.dev/v1/webhooks" \
  -H "Authorization: Bearer $WON_API_KEY"
```

```json
{
  "data": [
    {
      "id": "whk_2m9x7p1q8w3e5r4k",
      "url": "https://agent.example/hooks/won",
      "events": [
        "*"
      ],
      "campaign_id": null,
      "status": "enabled",
      "disabled_reason": null,
      "metadata": {},
      "created_at": "2026-11-18T13:58:00.000Z"
    }
  ],
  "notice": null,
  "usage": {
    "cost": 0,
    "balance": 48.08,
    "replayed": false
  }
}
```