Skip to main content
Question

Rest Hook Trigger

  • 31 May 2024
  • 1 reply
  • 29 views

I have set up my rest hook trigger API configuration, the challenge i am having is, after creating a zap and testing, a hook url is created in my apps database, but after publishing the zap it creates a new hook url, rendering the formal one useless, and unsubscribe url only works for published zap, what kind of parameter should i use to differentiate published zap hook url from unpublished zap.

1 reply

Userlevel 3
Badge +3

Hi @Veniasus,

This temporary webhook URL (the one that is sent when testing the trigger) is usually created when a “Perform List” has not been specified for the REST Hook trigger. A Perform List function is usually a GET request that fetches the existing items from the user’s account when testing the trigger.

Note that these temporary URLs are garbage collected by us after a while but to prevent them in the first place, you would have to set up a Perform List function in the trigger to be used when testing the trigger in the editor: Perform List.

Hope that helps!

Cheers,

Reply