> For the complete documentation index, see [llms.txt](https://apidocs.akinon.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.akinon.com/commerce-openapis/admin/webhooks/webhook-events/list-webhook-events.md).

# List webhook events

Returns a paginated log of webhook deliveries. Combine the filters to find one event (`uuid`), the failures of a webhook (`webhook` + `delivered=false`), or every event about one object (`content_type` + `object_id`). Match types are listed in the **Webhook Events** section.

```json
{"openapi":"3.1.0","info":{"title":"Admin API","version":"1.0.0"},"tags":[{"name":"Webhook Events","description":"A log of webhook deliveries. Each record is one event sent to one webhook, with the request body, the target's last response and the time of every attempt. Records are written by the platform; this API does not create, edit or delete them, but an undelivered event can be sent again (see **Retrying an Event**).\n\nSuperusers see every event; any other account sees only events of its own webhooks (see **Visibility** under **Webhooks**).\n\n## Webhook Event Fields\n\n| Field | Type | Description |\n|-------|------|-------------|\n| `id` | integer | The unique identifier of the record. |\n| `uuid` | UUID | The event identifier, also sent as `event.uuid` in the request body (without hyphens). |\n| `webhook` | object | The webhook the event was sent to, with all its fields. |\n| `request_payload` | object | The JSON body that was sent. |\n| `response_http_status` | integer | The status of the last attempt. `500` when the target could not be reached. |\n| `response_content` | string | The body of the last response, or the error when the target could not be reached. |\n| `response_time` | duration string or `null` | How long the last attempt took, as `[DD ]HH:MM:SS.ffffff`. `null` for events recorded before this field existed. |\n| `delivered` | boolean | Whether an attempt received a `2xx` response. |\n| `request_datetimes` | array of date-time | When each attempt was made, newest first. |\n| `retry_count` | integer or `null` | The number of attempts made. |\n| `content_type` | integer or `null` | The content type of the object the event is about (for example the user). |\n| `object_id` | string or `null` | The identifier of that object. |\n| `created_date`, `modified_date` | date-time | When the event was recorded and last updated. |\n\n## Filtering & Ordering\n\n| Parameter | Match | Notes |\n|-----------|-------|-------|\n| `uuid` | Exact | One event. |\n| `event_type` | Exact, case-insensitive | The webhook's event type. |\n| `webhook` | Exact | The webhook's `id`. An id that does not exist is rejected with `400`. |\n| `delivered` | `true` or `false` | `false` lists failed deliveries. Any other value is ignored. |\n| `response_http_status` | Exact | For example `500`. |\n| `content_type` + `object_id` | Exact | Every event about one object: `content_type` is the object's content type id, `object_id` its identifier. |\n| `created_date`, `created_date__gt`, `created_date__gte`, `created_date__lt`, `created_date__lte` | Date-time | A time window. |\n\nFilters can be combined; an event must satisfy all of them. Use the `sort` parameter to order the results by any event field (for example `sort=-created_date`). Without `sort` the order is not guaranteed, so pass one when paging through results.\n\n## Retrying an Event\n\n`POST /whisperer/hook_events/{id}/retry/` sends the event's stored `request_payload` to its webhook's current `target_url` once, immediately, and records the attempt on the same event: `retry_count`, `request_datetimes`, `response_http_status`, `response_content`, `response_time` and `delivered` are updated. No further automatic retries are scheduled.\n\n| Event state | Result |\n|-------------|--------|\n| Already delivered | `406`, `event_100_3`. Nothing is sent. |\n| Undelivered, automatic retries still running (`retry_count` below `11`) | `406`, `event_100_6`. Nothing is sent, unless the body is `{\"force\": true}`. |\n| Undelivered, automatic retries finished, or `force` is `true` | The event is sent. `200` when the target answered `2xx`, otherwise `406`; both return the attempt's outcome. |\n\nRetrying requires the same model permission as other write operations; without it the request is refused with `403`."}],"servers":[{"description":"Omnitron Remote Proxy (external access — recommended)","url":"https://{omnitron_url}/api/v1/remote/{channel_id}","variables":{"omnitron_url":{"default":"sandbox.akinon.com","description":"Omnitron server URL (e.g., {omnitron.akinon.com})"},"channel_id":{"default":"1","description":"The channel identifier the remote request is routed through"}}},{"description":"Commerce API Server (internal / direct access only)","url":"https://{commerce_url}/api/v1","variables":{"commerce_url":{"default":"sandbox.akinon.com","description":"Internal commerce server URL, reachable only from within the Omnitron network"}}}],"security":[{"tokenAuth":[]}],"components":{"securitySchemes":{"tokenAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Token credential sent in the Authorization header, in the form: `Token <your-token>`. Requires a staff (admin) account."}},"parameters":{"page":{"name":"page","in":"query","required":false,"description":"The page number to return.","schema":{"type":"integer","default":1}},"limit":{"name":"limit","in":"query","required":false,"description":"The number of items to return per page.","schema":{"type":"integer","default":10}},"sort":{"name":"sort","in":"query","required":false,"description":"Orders the results by one or more fields. Separate multiple fields with commas. Prefix a field with a hyphen (`-`) for descending order.","schema":{"type":"string"}}},"schemas":{"PaginatedWebhookEventList":{"type":"object","description":"A paginated list of webhook events.","properties":{"count":{"type":"integer","description":"Total number of webhook events."},"next":{"type":["string","null"],"format":"uri","description":"URL of the next page, or `null` on the last page."},"previous":{"type":["string","null"],"format":"uri","description":"URL of the previous page, or `null` on the first page."},"results":{"type":"array","description":"The webhook events on this page.","items":{"$ref":"#/components/schemas/WebhookEvent"}}}},"WebhookEvent":{"type":"object","description":"One event sent to one webhook, with every delivery attempt.","properties":{"id":{"type":"integer","description":"The unique identifier of the record."},"webhook":{"$ref":"#/components/schemas/Webhook"},"created_date":{"type":"string","format":"date-time","description":"When the event was recorded."},"modified_date":{"type":"string","format":"date-time","description":"When the record was last updated."},"uuid":{"type":"string","format":"uuid","description":"The event identifier, sent as `event.uuid` (without hyphens) in the request body."},"request_payload":{"type":"object","additionalProperties":true,"description":"The JSON body that was sent."},"response_content":{"type":"string","description":"The body of the last response, or the error when the target could not be reached."},"response_http_status":{"type":"integer","description":"The HTTP status of the last attempt; `500` when the target could not be reached."},"response_time":{"type":["string","null"],"description":"How long the last attempt took, as `[DD ]HH:MM:SS.ffffff`; `null` for events recorded before this field existed."},"delivered":{"type":"boolean","description":"Whether an attempt received a `2xx` response."},"request_datetimes":{"type":"array","description":"When each attempt was made, newest first.","items":{"type":"string","format":"date-time"}},"retry_count":{"type":["integer","null"],"description":"The number of attempts made."},"object_id":{"type":["string","null"],"description":"The identifier of the object the event is about."},"content_type":{"type":["integer","null"],"description":"The content type id of the object the event is about."}}},"Webhook":{"type":"object","description":"A webhook subscription.","properties":{"id":{"type":"integer","description":"The unique identifier of the webhook."},"retry_countdown_config":{"$ref":"#/components/schemas/WebhookRetryCountdownConfig"},"created_date":{"type":"string","format":"date-time","description":"When the webhook was registered."},"modified_date":{"type":"string","format":"date-time","description":"When the webhook was last modified."},"target_url":{"type":"string","maxLength":255,"description":"The URL events are posted to."},"is_active":{"type":"boolean","description":"Whether the webhook receives events."},"secret_key":{"type":["string","null"],"maxLength":124,"description":"The key requests are signed with, returned as stored; `null` when requests are not signed."},"event_type":{"type":"string","maxLength":124,"description":"The event type the webhook subscribes to."},"callback":{"type":["string","null"],"maxLength":64,"description":"Reserved for platform integrations; normally `null`."},"additional_headers":{"type":"object","additionalProperties":{"type":"string"},"description":"Extra HTTP headers sent with every request."},"config":{"type":"object","additionalProperties":true,"description":"Delivery options, such as `auth` for HTTP basic authentication."}}},"WebhookRetryCountdownConfig":{"type":"object","description":"The wait between retries of a failed delivery. `kwargs` depends on `choice`; see **Retry Countdown** in the **Webhooks** section.","required":["choice","kwargs"],"properties":{"choice":{"type":"string","enum":["fixed","linear","exponential","random"],"description":"The retry strategy."},"kwargs":{"type":"object","additionalProperties":true,"description":"The strategy's parameters."}}},"ValidationError":{"type":"object","description":"Returned when the request contains invalid or missing data. Errors are grouped by the field they apply to: each key is the name of a field from the request and its value is a list of one or more messages describing what is wrong with that field. Messages that do not belong to any single field are grouped under `non_field_errors`.","properties":{"non_field_errors":{"type":"array","description":"Error messages that apply to the request as a whole rather than to a specific field.","items":{"type":"string"}}},"additionalProperties":{"type":"array","description":"The list of error messages for the field named by the key.","items":{"type":"string"}}},"Error":{"type":"object","description":"An error response.","properties":{"detail":{"type":"string","description":"A human-readable description of the error."}},"additionalProperties":true}},"responses":{"Unauthorized":{"description":"Authentication credentials were not provided or are invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Forbidden":{"description":"The authenticated user does not have administrator privileges.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"InvalidPage":{"description":"The requested `page` does not exist — it is past the last page or not a valid page number. Paginated list endpoints answer with `404` rather than an empty page. The literal value `last` is accepted and returns the final page.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"paths":{"/whisperer/hook_events/":{"get":{"tags":["Webhook Events"],"operationId":"listWebhookEvents","summary":"List webhook events","description":"Returns a paginated log of webhook deliveries. Combine the filters to find one event (`uuid`), the failures of a webhook (`webhook` + `delivered=false`), or every event about one object (`content_type` + `object_id`). Match types are listed in the **Webhook Events** section.","parameters":[{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/sort"},{"name":"uuid","in":"query","required":false,"description":"Filter by the exact event identifier.","schema":{"type":"string","format":"uuid"}},{"name":"event_type","in":"query","required":false,"description":"Filter by the webhook's event type, exact and case-insensitive.","schema":{"type":"string"}},{"name":"webhook","in":"query","required":false,"description":"Filter by the exact identifier of the webhook. An id that does not exist is rejected with `400`.","schema":{"type":"integer"}},{"name":"delivered","in":"query","required":false,"description":"Filter by delivery outcome; `false` lists failed deliveries. A value other than `true` or `false` is ignored.","schema":{"type":"boolean"}},{"name":"response_http_status","in":"query","required":false,"description":"Filter by the exact HTTP status of the last attempt.","schema":{"type":"integer"}},{"name":"content_type","in":"query","required":false,"description":"Filter by the exact content type id of the object the event is about.","schema":{"type":"integer"}},{"name":"object_id","in":"query","required":false,"description":"Filter by the exact identifier of the object the event is about (the `object_id` field). Combine with `content_type`, since identifiers repeat across object types.","schema":{"type":"string"}},{"name":"created_date","in":"query","required":false,"description":"Events recorded at exactly this moment.","schema":{"type":"string","format":"date-time"}},{"name":"created_date__gt","in":"query","required":false,"description":"Events recorded after this moment.","schema":{"type":"string","format":"date-time"}},{"name":"created_date__gte","in":"query","required":false,"description":"Events recorded at or after this moment.","schema":{"type":"string","format":"date-time"}},{"name":"created_date__lt","in":"query","required":false,"description":"Events recorded before this moment.","schema":{"type":"string","format":"date-time"}},{"name":"created_date__lte","in":"query","required":false,"description":"Events recorded at or before this moment.","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"A paginated list of webhook events.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedWebhookEventList"}}}},"400":{"description":"A filter value is not valid — for example a malformed date, an unknown `content_type` or a `webhook` id that does not exist.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/InvalidPage"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://apidocs.akinon.com/commerce-openapis/admin/webhooks/webhook-events/list-webhook-events.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
