Skip to main content
Question

Webhook creation with header authentication using API

  • August 23, 2024
  • 1 reply
  • 2 views

Forum|alt.badge.img+1

Hello,

I am trying to create a webhook using API as mentioned in https://developer.jamf.com/jamf-pro/reference/createwebhookbyid with <authentication_type>HEADER</authentication_type>

I am unable to find any documentation on how to pass the header information in the API. As per https://learn.jamf.com/en-US/bundle/jamf-pro-documentation-current/page/Webhooks.html

header information needs to be sent as key value pairs but not sure how to pass in the API. 

I get this error,

Error: Header information is required
 
Can someone shed some light on this.

 

1 reply

sgonschorek
Forum|alt.badge.img+6
  • Contributor
  • 11 replies
  • February 24, 2025

Just found your post.

It´s all in the docu: https://learn.jamf.com/de-DE/bundle/jamf-pro-documentation-current/page/Webhooks.html

Just add your bearer token to the authentication.


If you call a Okta Workflow, you get the token if you user the API Endpoint. For other platforms take care that the token doesn´t expire.

best

Stephan

 

 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings