Creating a webhook

Creating a webhook enables you to subscribe to notifications for events that take place in Autotask. You can define one webhook for multiple actions, or you can build a separate webhook for each operation.

This article explains the infrastructure your environment will need for webhook support. It also guides you through the process of setting up your first webhook.

BEFORE YOU BEGIN  Examples in this article may use the webservices[n].autotask.net placeholder. In such instances, substitute [n] for the zone of your user, as described in Autotask API zones and WSDL versionsFind your zone's API URL for the REST API or Autotask API zones and WSDL versionsFind your zone's WSDL file URL for SOAP API version 1.6.

Getting started

Before you can use webhooks, you'll need to ensure that the following prerequisites are met.

Creating webhooks

To create a webhook, perform the following steps. The workflows in this section of the article use the REST API and the CompanyWebhooks entity for all examples, but the steps are the same for all supported entity types.

IMPORTANT  The Autotask GUI uses field labels that can be changed by customer configurations and localization. To ensure consistency for integration programming, certain SOAP entities use REST API field names instead of SOAP API labels. Refer to <EntityName>WebhookField (SOAP API) or <EntityName>WebhookFields (REST API) to learn how to interpret these names.