Add dynamic parameters and headers to webhooks

circle.yml

#1

We sometimes need to call secure webhooks that require API keys or parameters that are dynamically set during the build.

It would be great to add the ability to:

a) set a parameter from the environment variables

http://myhook.com?key=$API_KEY

b) set a header so it could support AWS API Gateway

maybe like:

notify:
  webhooks:

    # A list of hook hashes, containing the URL field
      - url: https://example.com/hooks/circle
        - header: "x-api-key:$API_KEY"

#2

is there any update on this? would like to restrict access to an amazon api gateway to call as a webhook.


#3

I’d also be interested in this feature.


#4