Creating Webhooks
Creating a webhook
Section titled “Creating a webhook”-
Go to Webhooks in the sidebar.
-
Click Create Webhook.
-
Fill in the fields:
- Name (required): A descriptive name like “Production Server” or “Slack Notifications”.
- URL (required): The HTTPS endpoint that will receive POST requests.
- Events (required): Select which events trigger this webhook.
-
Click Create.
After creation, Tolinku generates a signing secret (prefixed with whsec_). Copy and store it securely. The signing secret is shown once and cannot be retrieved later.
URL requirements
Section titled “URL requirements”Your webhook URL must:
- Use HTTPS (HTTP is not accepted)
- Be publicly accessible from the internet
- Not point to
localhost,127.0.0.1, or private IP ranges (10.x.x.x,172.16.x.x,192.168.x.x) - Respond within 10 seconds
Tolinku validates the URL when you create or update the webhook. If it points to a private address, the request is rejected.
Editing a webhook
Section titled “Editing a webhook”Click on a webhook to edit its name, URL, or event subscriptions. Changes take effect immediately. The signing secret does not change when you edit a webhook.
Enabling and disabling
Section titled “Enabling and disabling”Toggle the Active switch to temporarily stop deliveries without deleting the webhook. Inactive webhooks do not receive any events. Events that occur while the webhook is inactive are not queued or retroactively sent.
Rotating the signing secret
Section titled “Rotating the signing secret”Click Rotate Secret on a webhook to generate a new signing secret. The old secret stops working immediately. A new whsec_ secret is displayed once for you to copy.
Rotate the secret if:
- The secret may have been exposed or leaked
- A team member with access to the secret has left
- Your security policy requires periodic rotation
After rotating, update the secret on your server before sending a test event to confirm verification still passes.
Deleting a webhook
Section titled “Deleting a webhook”Click Delete to permanently remove a webhook and its delivery history.