> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.drazill.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.drazill.com/_mcp/server.

# market.updated

Event schema version `2026-05-08`. Delivered as the `type` field of the webhook
envelope, signed with `Drazill-Webhook-Signature`.

## Payload fields

The `data` object carries these fields. Money and quantity values are delivered as decimal
**strings**. Fields beyond the structural IDs are optional because a producer legitimately
omits them on some transitions.

| Field                | Type                          | Required |
| -------------------- | ----------------------------- | -------- |
| `closes_at`          | string (date-time) · nullable | No       |
| `market_id`          | string (uuid)                 | Yes      |
| `resolved_at`        | string (date-time) · nullable | No       |
| `slug`               | string · nullable             | No       |
| `status`             | string · nullable             | No       |
| `title`              | string · nullable             | No       |
| `total_volume`       | number or string · nullable   | No       |
| `winning_outcome_id` | string (uuid) · nullable      | No       |

## Example delivery

The full request body — the envelope wrapping this event's `data`:

```json
{
  "id": "evt_example000000000000000001",
  "type": "market.updated",
  "version": "2026-05-08",
  "api_version": "v1",
  "livemode": true,
  "created_at": "2026-01-15T12:00:00Z",
  "data": {
    "market_id": "018f7a80-0000-7000-8000-000000000002",
    "slug": "toronto-win-tonight",
    "status": "ACTIVE",
    "title": "Will Toronto win tonight?",
    "total_volume": "12500.00"
  },
  "request_id": null,
  "correlation_id": null
}
```

> **Warning**
>
> Verify the signature before you act on a webhook, and treat it as a notification:
> re-read authoritative state from the REST API before moving money. See
> [Signing & verification](/webhooks/signing).