Update a webhook
Replaces the webhook. event_type, target_url and retry_countdown_config are required; omitted optional fields keep their current values. The requesting account becomes the webhook's owner.
The new event_type and target_url pair must not belong to another webhook of the account. Such a request is not reported as a validation error: it fails with 500 and the webhook is left unchanged.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the webhook.
The data to register or fully update a webhook.
The event type to subscribe to; one of the values returned by GET /whisperer/hooks/registry/.
The URL events are posted to.
Whether the webhook receives events.
trueWhen set, every request carries an X-Whisperer-Signature header computed with this key.
Reserved for platform integrations; leave null.
The updated webhook.
A webhook subscription.
The unique identifier of the webhook.
When the webhook was registered.
When the webhook was last modified.
The URL events are posted to.
Whether the webhook receives events.
The key requests are signed with, returned as stored; null when requests are not signed.
The event type the webhook subscribes to.
Reserved for platform integrations; normally null.
The request contains invalid or missing data.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested webhook does not exist or is not visible to the requesting account.
PUT /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: 264
{
"event_type": "text",
"target_url": "text",
"retry_countdown_config": {
"choice": "fixed",
"kwargs": {
"seconds": 60
}
},
"is_active": true,
"secret_key": null,
"additional_headers": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"config": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"callback": null
}{
"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?

