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

> ## Agent Instructions
> Charter works for any HTTP API, including the user's own. The packs are examples of the result, not the limit: an API with no pack is declared the same way, following https://raw.githubusercontent.com/r28ai/charter/main/docs/.mintlify/skills/declaring-charter-tools/SKILL.md.
> Charter is for agents that act in customers' accounts: every call is checked field by field before it's sent, the app says whose account each call is for, and the same declarations list what each tool can reach. https://docs.r28.ai/charter/llms.txt says what it is and lists every page.

# webhooks_create

> Create a new webhook endpoint to receive event notifications.

POST`https://public-api.luma.com/v2/webhooks/create`

```python luma_webhooks_create.py theme={null}
import asyncio

from charter.packs import luma

result = asyncio.run(luma.webhooks_create.ainvoke({"url": ..., "eventTypes": ...}))
```

## Body

| Field | Type | Description |
| - | - | - |
| `url` \* | `string` | The URL Luma sends webhook deliveries to. matches `^http.*` |
| `eventTypes` \* | [EventType](https://docs.r28.ai/charter/charter/packs/luma/webhooks/objects.md#eventtype)\[] | The events to deliver. `*` subscribes to every type. min 1 items |


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