Skip To Content
ArcGIS Developer
Dashboard

webhooks: Webhooks

Example usage

The following is a sample request URL for the webhooks resource:

https://machine.domain.com/webadaptor/sharing/rest/portals/123456789ABCDEF/webhooks?f=pjson

Description

The webhooks resource will list all organization webhooks for your Enterprise portal. This will include both activated and deactivated webhooks.

Note:

To learn about what webhook types are supported in Enterprise, see About webhooks in ArcGIS Enterprise.

Request parameters

ParameterDetails
f

The response format. The default response format is html.

Values: html | json | pjson

JSON Response example

{
  "webhooks": [
    {
      "id": "7c001f61f51e440baa81ab0616dc4143",
      "accountId": "0123456789ABCDEF",
      "payloadUrl": "https://machineName:8000",
      "secret": "",
      "isActive": true,
      "name": "All Updates",
      "config": {
        "deactivationPolicy": {
          "numberOfFailures": 5,
          "daysInPast": 5
        }
      },
      "ownerId": "86ccfe86be2d490a8507eaea82749dc6",
      "created": 1548281793118,
      "modified": 1548281793118,
      "events": [
        "/"
      ]
    }
  ]
}

JSON Response example with properties

{
  "webhooks": [
    {
      "id": "7c001f61f51e440baa81ab0616dc4143",
      "accountId": "0123456789ABCDEF",
      "payloadUrl": "https://machineName:8000",
      "secret": "",
      "isActive": true,
      "name": "All Updates",
      "config": {
        "deactivationPolicy": {
          "numberOfFailures": 5,
          "daysInPast": 5
        },
        "properties": {
         "federatedServer": {
  	       "serverId": "t4IGVvF82xlnxjLT",
  	       "itemId": "9a401d61f15a740baa81ab0616dc222",
  	       "tokenTypeToSend": "user",
  	       "tokenExpirationTimeMinutes": "10"}
      },
      "ownerId": "86ccfe86be2d490a8507eaea82749dc6",
      "created": 1548281793118,
      "modified": 1548281793118,
      "events": [
        "/"
      ]
    }
  ]
}