> ## Documentation Index
> Fetch the complete documentation index at: https://docs.0xarchive.io/llms.txt
> Use this file to discover all available pages before exploring further.

# WebhookDeliveryEnvelope Schema

> Body of a webhook delivery to a json endpoint. Includes generated fields, route metadata, response shapes, and implementation-safe 0xArchive contract details.

Source OpenAPI: 0xArchive API 1.9.0; 230 paths; 228 component schemas.

Body of a webhook delivery to a `json` endpoint. The same `id` is sent on every retry and redelivery of the event; use it (or the `0xa-event-id` header) to deduplicate. Delivery is at least once.

## Required Fields

| Field | Type | Description |
| - | - | - |
| `data` | object | Event payload. |
| `id` | string:uuid | Event identifier, stable across retries and redeliveries. |
| `observed_at` | string:date-time | When the event was detected. |
| `schema_version` | integer | Version of the `data` shape for this event type. |
| `type` | string | Event type from the catalog. |

## JSON Schema

```json theme={"theme":"github-dark"}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "WebhookDeliveryEnvelope",
  "description": "Body of a webhook delivery to a `json` endpoint. The same `id` is sent on every retry and redelivery of the event; use it (or the `0xa-event-id` header) to deduplicate. Delivery is at least once.",
  "type": "object",
  "required": [
    "data",
    "id",
    "observed_at",
    "schema_version",
    "type"
  ],
  "properties": {
    "data": {
      "description": "Event payload. Its fields are the metrics the catalog declares for the event type.",
      "type": "object",
      "additionalProperties": true
    },
    "id": {
      "description": "Event identifier, stable across retries and redeliveries. Equals the `0xa-event-id` header.",
      "type": "string",
      "format": "uuid"
    },
    "late": {
      "description": "True when `late_ms` exceeds ten minutes. Absent where `late_ms` is absent.",
      "type": "boolean"
    },
    "late_ms": {
      "description": "How long after the underlying occurrence the event was detected, in milliseconds. Null when the occurrence carries no timestamp; absent on test, export and some operational events.",
      "type": "integer",
      "format": "int64",
      "nullable": true
    },
    "observed_at": {
      "description": "When the event was detected.",
      "type": "string",
      "format": "date-time"
    },
    "schema_version": {
      "description": "Version of the `data` shape for this event type.",
      "type": "integer",
      "example": 1
    },
    "type": {
      "description": "Event type from the catalog. Equals the `0xa-event-type` header.",
      "type": "string",
      "example": "market.liquidation"
    }
  }
}
```

## Referenced By

* [`POST /v1/webhooks/endpoints`](https://docs.0xarchive.io/schemas/operations/create-webhook-endpoint)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.