Webhooks

Returns a paginated list of webhook endpoints configured for an account, ordered by most recently created.

get/webhooks

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Query parameters

account_id, string

The unique identifier of the account to list webhooks for.

app_id, string

Only return webhooks attached to this app. Omit to list the account's own webhooks.

include_app_webhooks, boolean

Also return webhooks attached to the account's apps, not just the account's own. Cannot be combined with app_id.

has_failures, boolean

Only return webhooks whose endpoint is currently failing — every delivery since the current failure streak began has been rejected. Clears as soon as a delivery succeeds.

first, integer

Number of results to return from the start of the range.

after, string

Return results after this cursor. Use page_info.end_cursor from the previous response to fetch the next page.

last, integer

Number of results to return from the end of the range.

before, string

Return results before this cursor. Use page_info.start_cursor from the previous response to fetch the previous page.

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Response

webhooks listed

object required
data, WebhookListItem[] required
page_info, object required

Example response

{
  "data": [
    {
      "api_version": "v1",
      "api_version_date": "2026-01-01",
      "created_at": "2026-01-01T12:00:00.000Z",
      "disabled_at": "2026-01-01T12:00:00.000Z",
      "disabled_reason": "delivery_failures",
      "events": [
        "payment.succeeded"
      ],
      "failing_since": "2026-01-01T12:00:00.000Z",
      "id": "hook_xxxxxxxxxxxxxx",
      "last_failure_at": "2026-01-01T12:00:00.000Z",
      "resource_id": "biz_xxxxxxxxxxxxxx",
      "url": "https://shinetime.example/whop",
      "webhook_secret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    }
  ],
  "page_info": {
    "start_cursor": "WyJjdXJzb3IiLDFd"
  }
}

Changes

    • warning

      added the new ad_campaign.claim_ended enum value to the data/items/events/items response property for the response status

    • warning

      added the new capital.created enum value to the data/items/events/items response property for the response status

    • warning

      added the new capital.updated enum value to the data/items/events/items response property for the response status