Webhooks

Returns a paginated list of delivery attempts for a webhook, ordered by most recent first. Includes the request payload, response body, response code, and timing for each attempt. Filtered queries use a bounded read budget, so a page may be partial or empty. Continue with page_info.end_cursor while page_info.has_next_page is true.

get/webhooks/{id}/deliveries

Request

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

Path parameters

id, string required

Webhook ID, prefixed hook_.

Query parameters

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.

sent_after, string date-time

Only deliveries sent at or after this ISO 8601 timestamp. Deliveries are retained for 30 days.

sent_before, string date-time

Only deliveries sent at or before this ISO 8601 timestamp.

events, string[]

Only deliveries of these event types. Repeat the parameter to pass several.

[
  "payment.succeeded"
]
status, 'success' | 'error'

Only deliveries with this outcome: success for a 2xx response, error otherwise.

resource_id, string
Example:pay_xxxxxxxxxxxxx

Only deliveries triggered by this resource.

Headers

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

Pins the request to a dated API version.

Response

deliveries listed

object required
data, WebhookDelivery[] required
page_info, object required

Example response

{
  "data": [
    {
      "event": "payment.succeeded",
      "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "replayed_from": "whdel_MTcwMDAwMDAwMDAwMHx0ZXN0",
      "request_body": {
        "data": {
          "id": "pay_123"
        },
        "id": "msg_original",
        "type": "payment.succeeded"
      },
      "resource_id": "pay_123",
      "response_body": {
        "ok": true
      },
      "response_code": 200,
      "sent_at": "2026-01-01T12:00:00.000Z",
      "status": "success",
      "success": true,
      "total_time": 0.31
    }
  ],
  "page_info": {
    "end_cursor": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx--xxxxxxxxxxxxxxxx--xxxxxxxxxxxxxxxxxxxxxx"
  }
}

Changes

    • info

      added the enum value ad_campaign.claim_ended to the property items/ of the query request parameter events

    • info

      added the enum value capital.created to the property items/ of the query request parameter events

    • info

      added the enum value capital.updated to the property items/ of the query request parameter events