Webhooks (Services)

URL:
https://<root>/services/webhooks
Methods:
GET
Required Capability:
Access allowed with either the "Feature layer" or "Geoprocessing" privileges, or the Publisher role
Version Introduced:
11.2

Description

The webhooks resource returns a list of all service webhooks that are currently configured for the organization, providing a centralized location for users with the appropriate permissions to view and manage service webhooks. This resource also provides access to the Settings operation, which allows administrators to apply advanced settings for webhook notifications and deactivation policies.

Request parameters

ParameterDetails

f

The response format. The default format is html.

Values: html | json | pjson

Example usage

The following is a sample request URL used to access the webhooks resource:

Use dark colors for code blocksCopy
1
https://organization.domain.com/context/admin/services/webhooks?f=pjson

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
  "webhooks": [
    {
      "id": "5bd49e76-df28-4bb4-91a2-bed823c69818",
      "folderName": "Hosted",
      "serviceName": "fs_webhook_1",
      "serviceType": "FeatureServer",
      "name": "Webhook 3",
      "signatureKey": "12345ABCDEF",
      "hookUrl": "https://app.logic.azure.com:443/workflows/...",
      "active": true,
      "contentType": "application/json",
      "scheduleInfo": {
        "name": "",
        "state": "enabled",
        "startAt": 1695754552188,
        "recurrenceInfo": {
          "interval": 20,
          "frequency": "second"
        }
      },
      "payloadFormat": "json",
      "created": 1695754574941,
      "modified": 1695754574941,
      "ownerId": "webhookAdmin",
      "modifiedId": "webhookAdmin",
      "changeTypes": ["*"]
    },
    {
      "id": "72eacbf0-7dc7-4596-88c8-0865f744fdd9",
      "folderName": "Hosted",
      "serviceName": "fs_webhook_2",
      "serviceType": "FeatureServer",
      "name": "Webhook 2",
      "signatureKey": "12345ABCDEF",
      "hookUrl": "https://app.logic.azure.com:443/workflows/...",
      "active": true,
      "contentType": "application/json",
      "scheduleInfo": {
        "name": "",
        "state": "enabled",
        "startAt": 1695754525418,
        "recurrenceInfo": {
          "interval": 20,
          "frequency": "second"
        }
      },
      "payloadFormat": "json",
      "created": 1695754539515,
      "modified": 1695754539515,
      "ownerId": "webhookAdmin",
      "modifiedId": "webhookAdmin",
      "changeTypes": [
        "AttachmentsCreated",
        "AttachmentsUpdated"
      ]
    },
    {
      "id": "cc7a09a9-011d-47d7-a3d2-2769b55b0332",
      "folderName": "Hosted",
      "serviceName": "fs_webhook_1",
      "serviceType": "FeatureServer",
      "name": "Webhook 1",
      "signatureKey": "12345ABCDEF",
      "hookUrl": "https://app.logic.azure.com:443/workflows/...",
      "active": true,
      "contentType": "application/json",
      "scheduleInfo": {
        "name": "",
        "state": "enabled",
        "startAt": 1695753963180,
        "recurrenceInfo": {
          "interval": 20,
          "frequency": "second"
        }
      },
      "payloadFormat": "json",
      "created": 1695753968096,
      "modified": 1695753968096,
      "ownerId": "webhookAdmin",
      "modifiedId": "webhookAdmin",
      "changeTypes": [
        "FeaturesDeleted",
        "FeaturesEdited",
        "FeatureServiceDefinitionChanged"
      ]
    }
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.