> For the complete CircleCI developer hub index, see [llms.txt](https://circleci.com/developer/llms.txt)

# eddiewebb/webhook

Sends a webhook payload to specified endpoint.

## Commands

### notify

| Parameter | Type | Default | Description |
|---|---|---|---|
| `endpoint` | string |  | Full URL to POST webhook payload |
| `on_failure` | boolean | true | Should we send on failures? |
| `on_success` | boolean | true | Should we send on Sucesses? |

## Examples

### basic_example

Send webhook on success or failue (default)

```yaml
jobs:
  build:
    docker:
      - image: circleci/node:10
    steps:
      - run: echo "hi"
      - webhook/notify:
          endpoint: https://postb.in/7RFuDLos
    working_directory: ~/repo
orbs:
  webhook: eddiewebb/webhook@volatile
version: 2.1
```