- URL:https://[root]/portals/[portalID]/webhooks
- Operations:Create Webhook
- Child Resources:List a Specific Webhook, Settings
- Version Introduced:10.7
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
Note:
ArcGIS Enterprise administrators can use webhooks to track organizational events associated with items, groups, and members. An additional set of webhooks is available to support administration for feature service workflows in ArcGIS Online. For information, see Web Hooks (Feature Service).
The webhooks resource will list all the webhooks for an organization. This will include both activated and deactivated webhooks.
Request parameters
Parameter | Details |
---|---|
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": [
"/"
]
}
]
}