Select to view content in your preferred language

Notebook Server 11.5 Webhook Receivers

1269
10
Jump to solution
09-24-2025 07:32 AM
Labels (1)
Justin_Greco
Frequent Contributor

I noticed that in the release notes for 11.5 there is now the ability to set up a webhook receiver.  The documentation is very limited.  It gives you instructions for creating the receiver, which includes specifying the notebook you want the webhook to trigger, a secret (which I think can just be random 32 digit string), an API token (which I assumes means I need to generate a token on Portal and include that) and signature headers (documentation has "x-esrihook-signature,x-hub-signature-256" as an example.  This gives me a webhook URL.

I took that webhook URL and used it to set up a webhook on a feature layer (does have edit tracking enabled) and set it to FeatureCreated.  My expectation is that the notebook would run after I created a feature, which I don't have any evidence that it ran.

Since the documentation is limited, I am thinking something is not configured correctly either when creating the webhook receiver or with the URL I am setting on the feature service webhook.  Is anyone aware of any additional documentation or blog posts about this feature?

 

0 Kudos
10 Replies
JCGuarneri
Frequent Contributor

I'm really struggling with this at 11.5. I've followed all the instructions in the example above, ensuring that I've set the access to the desired target Notebook and re-generating the key. I also tried the script, and it fails at the create webhook step. I still get the error "Failed to create/update webhook receiver 'The api token cannot access the item. Please provide access and try again.'."

I fully admit that part of the problem is I'm not a developer and I need a "for dummies" version of the instructions. There's a lot that's ambiguous for the inexperienced.

 

Update: I've managed to create a webhook receiver by switching to a builtin account instead of an enterprise account. Now I just need to figure out how to test it.

0 Kudos