{
  "opencollection": "1.0.0",
  "info": {
    "name": "UiPath Automation Hub Alerts Webhooks API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Webhooks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "UiPath List Webhooks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cloud.uipath.com/{orgName}/{tenantName}/automationhub_/api/v1/odata/Webhooks",
            "headers": [
              {
                "name": "X-UIPATH-OrganizationUnitId",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "OData filter expression to narrow results (e.g., State eq 'Running')"
              },
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "Maximum number of records to return (default 100, max 1000)"
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Number of records to skip for pagination"
              }
            ]
          },
          "docs": "Retrieves all webhook subscriptions configured in Orchestrator. Each webhook specifies a target URL, the events to subscribe to, and an HMAC secret for payload signature verification."
        },
        {
          "info": {
            "name": "UiPath Create a Webhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cloud.uipath.com/{orgName}/{tenantName}/automationhub_/api/v1/odata/Webhooks",
            "headers": [
              {
                "name": "X-UIPATH-OrganizationUnitId",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new webhook subscription. Specify the target URL, optional HMAC secret for payload verification, whether to subscribe to all events or specific event types, and whether to allow insecure SSL."
        },
        {
          "info": {
            "name": "UiPath Delete a Webhook",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://cloud.uipath.com/{orgName}/{tenantName}/automationhub_/api/v1/odata/Webhooks(:key)",
            "headers": [
              {
                "name": "X-UIPATH-OrganizationUnitId",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "key",
                "value": "",
                "type": "path",
                "description": "The unique integer identifier of the entity"
              }
            ]
          },
          "docs": "Permanently deletes a webhook subscription by its unique integer identifier. After deletion, the target URL will no longer receive event notifications from Orchestrator."
        },
        {
          "info": {
            "name": "UiPath Get Available Webhook Event Types",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cloud.uipath.com/{orgName}/{tenantName}/automationhub_/api/v1/odata/Webhooks/UiPath.Server.Configuration.OData.GetEventTypes()",
            "headers": [
              {
                "name": "X-UIPATH-OrganizationUnitId",
                "value": ""
              }
            ]
          },
          "docs": "Retrieves the complete list of event types available for webhook subscriptions in Orchestrator. Event types cover jobs, robots, queues, queue items, processes, and triggers, each with a unique string identifier such as job.faulted or queueItem.transactionCompleted."
        }
      ]
    }
  ],
  "bundled": true
}