# `PolarExpress.Schemas.WebhookEndpointCreate`
[🔗](https://github.com/jeffhuen/polar_express/blob/main/lib/polar_express/schemas/webhook_endpoint_create.ex#L2)

WebhookEndpointCreate

Schema to create a webhook endpoint.

# `t`

```elixir
@type t() :: %PolarExpress.Schemas.WebhookEndpointCreate{
  events: term(),
  format: term(),
  name: term(),
  organization_id: term(),
  url: term()
}
```

* `events` - The events that will trigger the webhook.
* `format` - The format of the webhook payload.
* `name` - An optional name for the webhook endpoint to help organize and identify it. Nullable.
* `organization_id` - The organization ID associated with the webhook endpoint. **Required unless you use an organization token.** Nullable.
* `url` - The URL where the webhook events will be sent. Format: uri. Max length: 2083.

# `schema_name`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
