Overview
PATCH/processing/webhooks/{id}processing

Update a webhook endpoint (active / eventTypes)

Toggle `active` or replace `eventTypes`. The URL and secret are immutable after creation. Returns 404 when not found or owned by another ecosystem.

Auth: bearerAuth — calls run as the authenticated user.

Parameters
  • idpathstring
Request body

application/json · optional

  • activeoptionalboolean

    Enable or disable delivery

  • eventTypesoptionalstring[]

    Replace the subscribed event-type list

Example
{
  "active": true,
  "eventTypes": [
    "string"
  ]
}
Responses
200

Updated endpoint (secret redacted)

  • idstring
  • ecosystemIdstring

    Ecosystem that owns this endpoint

  • customerIdstring

    User who registered the endpoint

  • urlstring

    HTTPS-only delivery target URL

  • eventTypesstring[]

    Subscribed event types (e.g. job.succeeded, job.failed)

  • activeboolean

    Whether the endpoint receives deliveries

  • descriptionoptionalstring?

    Human-readable label

  • createdAtstring

    ISO 8601 timestamp

  • updatedAtstring

    ISO 8601 timestamp of last modification

Example
{
  "id": "string",
  "ecosystemId": "string",
  "customerId": "string",
  "url": "string",
  "eventTypes": [
    "string"
  ],
  "active": true,
  "description": "string",
  "createdAt": "string",
  "updatedAt": "string"
}
400

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
401

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
404

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
Code examples
cURL
curl -X PATCH "https://api.agenticdeveloperhub.com/processing/webhooks/{id}" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "active": true,
  "eventTypes": [
    "string"
  ]
}'
JavaScript
const res = await fetch("https://api.agenticdeveloperhub.com/processing/webhooks/{id}", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer YOUR_TOKEN",
    "Content-Type": "application/json"
  },
  body: "{\n  \"active\": true,\n  \"eventTypes\": [\n    \"string\"\n  ]\n}",
});
const data = await res.json();