---
title: "aeontel webhook-subscription"
description: "Manage outbound webhook subscriptions"
section: "CLI"
group: "Commands"
order: 838
---

## Webhook-subscription commands

### `aeontel webhook-subscription list`

List webhook subscriptions

```ts
aeontel webhook-subscription list --workspace <id>
```

```bash
aeontel webhook-subscription list --workspace wsp_...
```

### `aeontel webhook-subscription create`

Create a webhook subscription

```ts
aeontel webhook-subscription create <name> --workspace <id> --url <url> [--secret <secret>] [--events <types>]
```

```bash
aeontel webhook-subscription create "My name" --workspace wsp_... --url https://example.com
```

### `aeontel webhook-subscription get`

Get webhook subscription details

```ts
aeontel webhook-subscription get <id>
```

```bash
aeontel webhook-subscription get id_...
```

### `aeontel webhook-subscription update`

Update webhook subscription

```ts
aeontel webhook-subscription update <id> [--name <name>] [--url <url>] [--events <types>] [--enabled <bool>]
```

```bash
aeontel webhook-subscription update id_...
```

### `aeontel webhook-subscription delete`

Delete webhook subscription

```ts
aeontel webhook-subscription delete <id>
```

```bash
aeontel webhook-subscription delete id_...
```

### `aeontel webhook-subscription restore`

Restore a soft-deleted webhook subscription

```ts
aeontel webhook-subscription restore <id>
```

```bash
aeontel webhook-subscription restore id_...
```
