# `Twilio.IpMessaging.V2.Service.Channel.WebhookService`
[🔗](https://github.com/jeffhuen/twilio_elixir/blob/main/lib/twilio/ipmessaging/v2/service/channel/webhook_service.ex#L2)

Service for Webhook API operations.

Operations: `list`, `create`, `fetch`, `update`, `delete`

# `create`

```elixir
@spec create(Twilio.Client.t(), String.t(), String.t(), map(), keyword()) ::
  {:ok, Twilio.Resources.IpMessaging.V2.Service.Channel.Webhook.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Operation: `CreateChannelWebhook` | Tags: IpMessagingV2Webhook

## Required Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `Type` | string |  Values: `webhook`, `trigger`, `studio` |
## Optional Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `Configuration.Filters` | array |  |
| `Configuration.FlowSid` | string |  |
| `Configuration.Method` | string |  Values: `GET`, `POST` |
| `Configuration.RetryCount` | integer |  |
| `Configuration.Triggers` | array |  |
| `Configuration.Url` | string |  |

# `delete`

```elixir
@spec delete(Twilio.Client.t(), String.t(), String.t(), String.t(), keyword()) ::
  {:ok, map()} | {:ok, map(), map()} | :ok | {:error, Twilio.Error.t()}
```

Operation: `DeleteChannelWebhook` | Tags: IpMessagingV2Webhook

# `fetch`

```elixir
@spec fetch(Twilio.Client.t(), String.t(), String.t(), String.t(), keyword()) ::
  {:ok, Twilio.Resources.IpMessaging.V2.Service.Channel.Webhook.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Operation: `FetchChannelWebhook` | Tags: IpMessagingV2Webhook

# `list`

```elixir
@spec list(Twilio.Client.t(), String.t(), String.t(), map(), keyword()) ::
  {:ok, Twilio.Page.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Operation: `ListChannelWebhook` | Tags: IpMessagingV2Webhook

# `stream`

```elixir
@spec stream(Twilio.Client.t(), String.t(), String.t(), map(), keyword()) ::
  Enumerable.t()
```

Stream:  (lazy auto-pagination).

# `update`

```elixir
@spec update(Twilio.Client.t(), String.t(), String.t(), String.t(), map(), keyword()) ::
  {:ok, Twilio.Resources.IpMessaging.V2.Service.Channel.Webhook.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Operation: `UpdateChannelWebhook` | Tags: IpMessagingV2Webhook

## Optional Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `Configuration.Filters` | array |  |
| `Configuration.FlowSid` | string |  |
| `Configuration.Method` | string |  Values: `GET`, `POST` |
| `Configuration.RetryCount` | integer |  |
| `Configuration.Triggers` | array |  |
| `Configuration.Url` | string |  |

---

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