Skip to main content
Question

List of which jobs have webhooks and when tokens expire?

  • September 1, 2022
  • 1 reply
  • 24 views

alim2
Participant
Forum|alt.badge.img+2

Is there a way to list out which published workbenches have 1 or more webhooks set up, and if so, when the token for each webhook expires?

1 reply

siennaatsafe
Safer
Forum|alt.badge.img+12

Hi @alim2​ ,

 

Unfortunately, I believe you'd have to do this in a bit of a roundabout way.

 

I believe you'd have to get all the tokens and find which ones are associated with Webhooks. I created an example workspace of how this could work with the FME Server API.

 

However, please note that Automations can also contain webhooks as well, so they could potentially trigger a workspace as well. However, these triggers don't contain expirable tokens.