[egulu CLI reference](../index.md) / [egulu subscriptions](index.md)

# egulu subscriptions create

POST /v1/projects/{project}/locations/{location}/eventSubscriptions

```sh
egulu subscriptions create <NAME> [options]
```

## API operation

[EventSubscriptions_create](../../api/messaging/EventSubscriptions_create.md): `POST /v1/projects/{project}/locations/{location}/eventSubscriptions` (messaging module)

## Arguments

| Name | Required | Description |
|---|---|---|
| `NAME` | yes | the eventSubscriptionId |

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--dead-letter-queue` | value | no | deadLetterQueue |
| `--description` | value | no | description |
| `--destination-queue` | value | no | destinationQueue |
| `--destination-webhook-endpoint` | value | no | destinationWebhookEndpoint |
| `--display-name` | value | no | displayName |
| `--location` | value | yes | location |
| `--project` | value | yes | project |
| `--subject-prefix` | value | no | subjectPrefix |
| `--type-prefix` | value | no | typePrefix |
| `--validate-only` | value | no | validateOnly |

The [global options](../index.md) apply too.
