# inboxjot listen

Show live events and forward them to a local URL.

## listen

Show live events and forward them to a local URL.

```sh
inboxjot listen [options]
```

| Option                | Description                                                                                                                                                                                                                                                                                                |
| --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--forward-to <URL>`  | Post each event to this URL, such as localhost:3000/webhooks.                                                                                                                                                                                                                                              |
| `--events <EVENTS>`   | Show only these event types, separated by commas. One of `email.sent`, `email.delivered`, `email.opened`, `email.clicked`, `email.bounced`, `email.complained`, `email.delivery_delayed`, `email.rejected`, `email.failed`, `email.unsubscribed`, `contact.created`, `contact.updated`, `contact.deleted`. |
| `--print-secret`      | Print the signing secret of forwarded events and exit.                                                                                                                                                                                                                                                     |
| `--timeout <TIMEOUT>` | Stop listening after this long.                                                                                                                                                                                                                                                                            |

```sh
inboxjot listen
inboxjot listen --forward-to localhost:3000/webhooks
inboxjot listen --events email.bounced,email.complained
```
