Register a webhook
Registers a webhook for one event type. event_type, target_url and retry_countdown_config are required; the webhook is active straight away. The requesting account becomes its owner.
The account may not already have a webhook for the same event_type and target_url — inactive ones included; reactivate that one instead.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
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 registered 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 — for example an event_type that is not in the registry or an unknown retry strategy.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The account already has a webhook, active or inactive, for this event_type and target_url.
POST /api/v1/remote/1/whisperer/hooks/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 251
{
"event_type": "user_registered",
"target_url": "https://hooks.example.com/commerce",
"secret_key": "change-me",
"retry_countdown_config": {
"choice": "exponential",
"kwargs": {
"base": 2,
"factor": 30,
"limit": 3600
}
},
"additional_headers": {
"X-Api-Key": "example-key"
}
}{
"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?

