Posted on 08-23-2024 03:16 AM
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,
Posted on 02-24-2025 03:16 PM
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