Webhook configuration
Prepare a public HTTP or HTTPS URL where your service accepts events. This is a handler endpoint, not a link to a bot chat. The URL must not contain a username, password, or a fragment after #.
Creation
Select the connection type: HTTP webhook to deliver events to your HTTP endpoint, or Hermes for processing by a connected Hermes instance. The following URL, signature, and header settings apply to HTTP webhooks.
For Hermes, set the name and events, create the subscription, and copy the address from Hermes connection. Give it to an authenticated Hermes instance together with processing instructions. The address alone does not grant access; this type does not need a public recipient HTTP endpoint.
This guide covers the HTTP webhook type. If Hermes should process the events, use the Hermes connection guide.
Select Add in the webhook list. In the webhook form:
- Enter a name, for example, "CRM support tickets".
- Enter the recipient's HTTP or HTTPS URL in the Address field.
- Select the Signature format: Standard Webhooks (the default) or Senler Webhook Standard. It must match the verification format on the recipient server. See signature verification for the differences and examples.
- Under Signing secret, choose Generate for your own server: the secret appears after creating the webhook. If the recipient already provided a secret, choose Specify and paste it into Recipient signing secret. Standard Webhooks secrets start with
whsec_. Secrets are encrypted at rest. - Select the events to send.
If the recipient requires a token, configure custom headers.
- Select Add at the bottom of the form.

The new webhook’s Settings tab opens. You can copy the current secret in the Signing secret section. A webhook created in the cabinet is enabled immediately. If the recipient is not ready, disable delivery in the webhook list: test requests also work while it is disabled.
Enabling and editing
- Open the webhook's Settings tab.
- Turn on the Enabled switch.
- Select Save.
You can also change the name, address, headers, selected events, signature format, and secret here. Generate mode shows the current secret with copy and rotation controls. Selecting a mode does not change the key. In Specify mode the field is blank: leave it blank to keep the current secret, or enter the recipient’s new secret. You can save a new key and format together.
Prepare the receiver for the new format, select it, and save. The change applies to subsequent deliveries, including retries; an in-flight request keeps its previous format. Changing only the format does not rotate the key, but its spelling can differ: reopen Settings and copy the secret in Generate mode for the selected format. Additional headers are retained. After saving, check the receiver with a test delivery.

Custom headers
If your service accepts requests only with a token or API key, add the required HTTP header in the webhook settings. For example, the recipient may require Authorization with the value Bearer YOUR_RECEIVER_KEY. This is your service's key, not the Senler webhook signing secret.
- Under Custom headers, select Add.
- In the dialog that opens, choose Enter manually and enter the header name, for example,
Authorization. - Enter the complete header value, for example,
Bearer YOUR_RECEIVER_KEY. It is sent exactly as entered; no prefix is added automatically. Use the authentication scheme required by the recipient. - Click Add or Apply. The dialog closes and the header appears as a row under Custom headers.
To edit a header, click its row. In the dialog, edit its fields or click Remove header. Cancelling or closing the dialog discards field changes.
The value is hidden in the list. The Will send preview in the dialog shows the header name and prefix while hiding the key itself.

Save the webhook to apply the header settings.
Headers work with both signature formats and are included in regular deliveries, tests, and retries. They complement Senler signature verification rather than replacing it. When changing the URL, review the headers: saved values will be sent to the new recipient.
Saved values are not shown. To keep the existing value, leave the name unchanged and the value field empty. To replace it, enter the complete new value. When renaming a header, enter its value again. A [REDACTED] placeholder instead of an Authorization key is rejected: the recipient's actual key is required. The previous settings are preserved when this error occurs.
You can add up to 20 headers. Names must be unique regardless of case; a name can contain up to 128 characters and a value up to 4096. The combined header size is limited to 16 KiB. Values must not contain line breaks. Service headers such as Content-Type, Host, x-webhook-*, webhook-id, webhook-timestamp, webhook-signature, and proxy-* are reserved and cannot be overridden here.
Paste multiple headers
- Under Custom headers, select Add and choose Paste in the dialog.
- Paste one or more lines into Headers, one header per line:
Authorization: Bearer YOUR_RECEIVER_KEY
X-Source: Senler

- Select Add. All headers appear in the list; then save the webhook.
Blank lines are ignored. If a line is invalid, a name repeats in the list or the pasted text, or the total would exceed 20 headers, the dialog shows an error and adds nothing. To replace an existing header, open its row in the list. Enter a key without a header name in Enter manually mode.
Choosing events
command_start: the user sent/start;message_allow: the user allowed messages;message_new: a new user message;button_clicked: a button in a message was clicked;lead_created: a lead was created;lead_unsubscribed: the user unsubscribed;lead_blocked: the user blocked the bot;segment_subscribed— “Subscribed to a segment”: a lead was added to a segment;segment_unsubscribed— “Unsubscribed from a segment”: a lead is no longer a member of a segment;message_undelivered— “Message could not be sent”: sending a message from an agent, automation, or operator failed;error— “Agent execution failed”: an agent request failed, for example because of an AI timeout or insufficient balance;automation_step_failed— “Automation step failed”: a terminal step failure after automatic retries have finished, or an error for which retries are not available.
To monitor agent execution and sending its reply, select the first two failure events separately. Step failure events are not sent for intermediate attempts, test runs, or an HTTP step following a connected Error branch. Other parallel automation branches may continue running. Reason and context fields are described in the failure event format.
You can select multiple events for one recipient and create multiple webhooks with different URLs. Events belong to the current project; configure a separate webhook for another project.
Use the shared event format reference to handle requests: JSON fields, required values, and examples for each type. Segment events arrive for all segments in the current project; identify the segment by data.segment_id.