- In Jamf Pro, click Settings in the sidebar.
- In the Global section, click Webhooks .
- Click New.
- Enter a display name for the webhook.
- Enter a URL for the webhook to post to.
- Choose the type of authentication required to connect to the webhook:
None—Requires no additional information.
Basic Authentication—Requires username and password information.
Header Authentication—Requires key value pairs in JSON format. If multiple headers are provided, they must be separated by a comma, similar to the following:
{"Authorization":"Bearer eyJhbGciOiJIUzI1NiJ9.eyJhdX", "Date":"Fri, 22 Nov 2024 16:56:32 GMT"}Note:The following keys are not allowed in the Header Authentication field:
Content-Type
User-Agent
Accept-Encoding
Content-Length
Host
- Enter the connection timeout for the webhook.
- Enter the read timeout for the webhook.
- Choose either "XML" or "JSON" as the format for sending the webhook information.
- Choose the event that will trigger the webhook.
- Click Save .
For information on supported webhooks, see Webhooks in the Jamf Developer Portal.