Skip to Content
Won.dev

List webhooks

Your webhooks and whether each is still switched on. Free.

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

Your webhooks, oldest first, and whether each is still switched on. disabled_reason says why one was switched off. Free.

  • Billing: Free.

Parameters

This endpoint takes no parameters.

Response

Errors are described in Errors.

FieldTypeDescription
dataobject[]
data[].idstringWebhook ID, such as whk_2m9x7p1q8w3e5r4k.
data[].urlstring
data[].eventsstring[]
data[].campaign_idstring | null
data[].statusenabled | disabled
data[].disabled_reasonstring | null
data[].metadataobjectYour own keys and values, as you gave them. Empty when none were.
data[].created_atstringWhen it was created, as an ISO 8601 time in UTC.
noticestring | nullA plain sentence when there is something to know about this answer. Null otherwise.
usageobjectNothing is charged here. The balance, for reference.
usage.costnumberWhat this call cost, in US dollars.
usage.balancenumberThe balance left after this call, in US dollars.
usage.replayedbooleanTrue when this is a repeat of a request from the last 24 hours. Repeats are free.

Example

curl "https://api.won.dev/v1/webhooks" \
  -H "Authorization: Bearer $WON_API_KEY"
{
  "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
  }
}

A test key (won_test_...) runs this in the sandbox: nothing is sent and nothing is charged.

On this page