6

I am creating a custom connector and would like to make 3 Webhook Triggers with different event payloads. But the verb and path are same for all of them.

POST ->> "v1/Webhook"

So I am getting the error which says path and verb combination should be unique.  I checked Githubs Triggers and saw that they have 3 Triggers and as per their documentation they have only one Webhook Url. I would like to do the same for my service enter image description here

I have already tried putting dynamic path parameters but it also gives the same error.

Please help. Thanks

Matthew Thurston
  • 720
  • 5
  • 22
hybrid
  • 1,255
  • 2
  • 17
  • 42

2 Answers2

4

Did you try:

POST ->> "v1/Webhook#1"
POST ->> "v1/Webhook#2"
POST ->> "v1/Webhook#3"
A. STEFANI
  • 6,707
  • 1
  • 23
  • 48
2

As far as I know you cannot use the payload to specify the event type. As a work around, you could instead use a different webhook url to distinguish between events.

danspam
  • 195
  • 1
  • 6