For the complete documentation index, see llms.txt. This page is also available as Markdown.

Partially update a webhook

Updates only the fields sent — for example {"is_active": false} to pause deliveries or {"is_active": true} to resume them. A retry_countdown_config sent here must be complete. The requesting account becomes the webhook's owner.

As with PUT, an event_type and target_url pair that belongs to another webhook of the account fails with 500 and leaves the webhook unchanged.

patch
/whisperer/hooks/{id}/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Path parameters
idintegerRequired

The unique identifier of the webhook.

Body

The webhook fields to change; omitted fields keep their values.

event_typestring · max: 124Optional

The event type to subscribe to.

target_urlstring · max: 255Optional

The URL events are posted to.

is_activebooleanOptional

Whether the webhook receives events.

secret_keystring · max: 124 · nullableOptional

The signing key; null stops signing.

callbackstring · max: 64 · nullableOptional

Reserved for platform integrations; leave null.

Responses
200

The updated webhook.

application/json

A webhook subscription.

idintegerOptional

The unique identifier of the webhook.

created_datestring · date-timeOptional

When the webhook was registered.

modified_datestring · date-timeOptional

When the webhook was last modified.

target_urlstring · max: 255Optional

The URL events are posted to.

is_activebooleanOptional

Whether the webhook receives events.

secret_keystring · max: 124 · nullableOptional

The key requests are signed with, returned as stored; null when requests are not signed.

event_typestring · max: 124Optional

The event type the webhook subscribes to.

callbackstring · max: 64 · nullableOptional

Reserved for platform integrations; normally null.

patch/whisperer/hooks/{id}/
PATCH /api/v1/remote/1/whisperer/hooks/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 19

{
  "is_active": false
}
{
  "id": 12,
  "retry_countdown_config": {
    "choice": "exponential",
    "kwargs": {
      "base": 2,
      "factor": 30,
      "limit": 3600
    }
  },
  "created_date": "2026-10-01T08:15:42.120394Z",
  "modified_date": "2026-10-01T08:15:42.120394Z",
  "target_url": "https://hooks.example.com/commerce",
  "is_active": true,
  "secret_key": "change-me",
  "event_type": "user_registered",
  "callback": null,
  "additional_headers": {
    "X-Api-Key": "example-key"
  },
  "config": {}
}

Last updated

Was this helpful?