# EventWebhook

**Package:** `flyte`

Webhook configuration for an event notification.

When specified, the backend will POST to the given URL when the event is created.
The ``payload`` dict may contain the template variable ``{callback_uri}`` in any
string value — the backend replaces it with the actual URI that can be used to
signal the event.

## Parameters

```python
class EventWebhook(
    url: str,
    payload: typing.Optional[typing.Dict[str, typing.Any]],
)
```
| Parameter | Type | Description |
|-|-|-|
| `url` | `str` | |
| `payload` | `typing.Optional[typing.Dict[str, typing.Any]]` | |

---
**Source**: https://github.com/unionai/unionai-docs/blob/main/content/api-reference/flyte-sdk/packages/flyte/eventwebhook.md
**HTML**: https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/packages/flyte/eventwebhook/
