Webhooks

The Webhooks setting in Jamf Pro allows you to create outbound webhooks for any event in the Events API. In conjunction with the Events API, webhooks allow you to use real-time events from Jamf Pro to build custom workflows on-demand using the programming language of your choice. For example, you could configure a webhook to send an event to an instant message plug-in you have written that will notify a chatroom when a third-party macOS software title in Jamf Pro has been updated.

Configuring a Webhook

  1. Log in to Jamf Pro.

  2. In the top-right corner of the page, click Settings images/download/thumbnails/82676502/Icon_Settings_Hover.png .

  3. Click Global Management.

  4. Click Webhooks images/download/thumbnails/82676502/webhook_icon.png .

  5. Click New images/download/thumbnails/82676502/Icon_New_Button.png .

  6. Enter a display name for the webhook.

  7. Enter a URL for the webhook to post to.

  8. 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 similar to the following:

      {

       "Authorization":"Value",
      "Token":"TokenValue"
      }

      Note: The following keys are not allowed in the Header Authentication field:

      • Content-Type

      • User-Agent

      • Accept-Encoding

      • Content-Length

      • Host

  9. Enter the connection timeout for the webhook.

  10. Enter the read timeout for the webhook.

  11. Choose either "XML" or "JSON" as the format for sending the webhook information.

  12. Choose the event that will trigger the webhook.

  13. Click Save images/download/thumbnails/81531754/floppy-disk.png .

For information on supported webhooks, see the Jamf developer resources:
https://www.jamf.com/developers/webhooks/

Copyright     Privacy Policy     Terms of Use     Security
© copyright 2002-2021 Jamf. All rights reserved.