Skip to content

Commit

Permalink
Add callout for webhook branch env name
Browse files Browse the repository at this point in the history
  • Loading branch information
amh4r committed Nov 15, 2024
1 parent 8fea0ac commit 9576e02
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pages/docs/platform/webhooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -291,3 +291,7 @@ curl 'https://inn.gs/e/REDACTED?x-inngest-env=branch-1' -d '{"msg": "hi"}'
```

If the branch environment is not specified with the header or query param, the webhook will be sent to [this page](https://app.inngest.com/env/branch/events) and will not trigger any functions. Events will also go here if the branch environment does not exist.

<Callout>
The value for `x-inngest-env` is the name of the branch environment, not the ID in the URL.
</Callout>

0 comments on commit 9576e02

Please sign in to comment.