Webhooks

Update webhook subscription

Update an existing webhook subscription

put/api/v1/webhooks/{id}

Request

Path parameters

idstring required

Webhook subscription ID

Request body

urlstring uri

Updated URL to receive webhook event payloads

eventsstring[]

Updated list of event types to subscribe to

activeboolean

Whether the subscription is active

Response

Webhook subscription updated

idstring

Unique subscription identifier

urlstring uri

URL that receives webhook event payloads

eventsstring[]

Event types this subscription listens for

activeboolean

Whether the subscription is currently active

tenant_idstring

Tenant ID that owns this subscription

org_idstring

Organization ID that owns this subscription

secretstring

Secret key for HMAC-SHA256 signature verification

created_atstring date-time

When the subscription was created

updated_atstring date-time

When the subscription was last updated

Example response

{
  "id": "wh_abc123",
  "url": "https://example.com/webhooks/axonflow",
  "events": [
    "policy.violation",
    "workflow.completed"
  ],
  "active": true,
  "tenant_id": "tenant-1",
  "org_id": "org-1",
  "secret": "whsec_example_placeholder"
}

Changes

No recorded changes to this operation across all 1 revision of this API.