HostWebhook Help Center

Set up a Webhook node

Every setting on the webhook page: the URL and ID, Target URL, protection with API keys and signatures, response mode and internal calls.

Time about 15 minutesYou need a HostWebhook account and an AI provider API keyUpdated October 11, 2026

The Webhook node is the front door of a flow. It gives you a URL that other apps send events to, checks each request, stores it as an event and hands it to the rest of the flow. This guide walks through every setting on the webhook page, using a webhook called Store orders as the example.

New to webhooks? Start with Receive your first webhook, then come back here for the details.

Add a Webhook node

In the left sidebar, click Flows and pick the workspace tab where the flow should live. Open the node palette in the top-left corner of the canvas and click Webhook under Sources. The node appears on the canvas.

  1. Marker 1: Open Flows.
  2. Marker 2: The workspace tab. Here it's Webhook.
  3. Marker 3: The node palette. Click + Nodes if it's collapsed.
  4. Marker 4: Click Webhook under Sources.
  5. Marker 5: The new Webhook node. Click it to open its side panel.
Flows canvas with the node palette open, Webhook under Sources and a Webhook node on the canvas

A new webhook gets a name like "New Webhook gyf1". To rename it, open its page (step 02) and click the name at the top. Here it's Store orders.

How it works

Every request that reaches the webhook URL goes through the protections you turned on and is stored as an event. Then two things happen, independently of each other:

  • The flow runs. The nodes connected to the webhook on the canvas receive the event.
  • The event is delivered. If you set a Target URL, HostWebhook also sends the event to your server, with retries and a signature. This happens whether the flow runs or not.

So a webhook without a Target URL only feeds its flow, and a webhook with a Target URL but no nodes after it works as a relay that retries for you.

  1. Marker 1: The Webhook node on the canvas. Notification only means it has no Target URL yet.
  2. Marker 2: Target URL: empty here, so events only go to the flow.
  3. Marker 3: Webhook URL and Webhook ID, explained in step 03.
  4. Marker 4: Click Full config to open the webhook page with every setting.
Flows canvas with the Store orders Webhook node selected and its side panel open

Webhook URL and Webhook ID

The right side of the webhook page shows the two values you'll share with other apps.

  1. Marker 1: Webhook URL: the full address that apps send events to, such as https://api.hostwebhook.com/api/in/<id>. Click Copy full URL; the address on screen is masked.
  2. Marker 2: Webhook ID: only the last part of the URL. Other parts of HostWebhook ask for it.
  3. Marker 3: Public URL: on by default. Turn it off to block requests from outside.
  4. Marker 4: Rotate gives the webhook a new ID and URL.
Webhook page with the Webhook URL, Webhook ID, Public URL switch and Rotate button

Always use Copy full URL. A URL without the /api/in/ part fails the same way as a wrong ID.

When Public URL is off, the URL is replaced by a Public URL blocked notice. Only sources inside HostWebhook can still send events: chains, Scheduled Workflows and internal calls. It's the safest way to pause outside traffic, because some providers disable an endpoint that keeps failing.

  1. Marker 1: Public URL switched off.
  2. Marker 2: The URL is hidden and outside requests are refused.
  3. Marker 3: The Webhook ID stays visible, because internal sources still use it.
Webhook page with Public URL turned off and the Public URL blocked notice
  1. Marker 1: Rotate issues the new URL right away.
  2. Marker 2: Cancel keeps the current URL.
Rotate the webhook token confirmation dialog

Rotating can't be undone.

The old URL stops accepting events the moment you click Rotate; there's no grace period. Update every app that sends to it, or their events are lost until you do.

Target URL

Click Edit on the Configuration card. Under General, the Target URL field is where HostWebhook forwards each event that passes your protections. Leave it empty if the flow on the canvas is all you need.

  1. Marker 1: Target URL: here a test address from webhook.site. Your own server's URL goes here.
  2. Marker 2: As soon as a Target URL is set, the delivery cards appear: Delivery & Retries, Health Monitoring and more.
Configuration in edit mode with a Target URL filled in and the delivery cards below it

The page saves on its own. Click Done when you're finished.

The Target URL must be public.

localhost and private network addresses are refused when you save. To receive events on your own computer while you develop, use the hostwh listen command shown under the field.

Most webhooks don't need a Target URL. Use it when you also want the raw event on your own server. Retries, health checks, fallback URLs and payload transforms are all explained in Webhook delivery settings (Target URL).

Protection

Until you protect it, anyone who has the URL can send events. The orange No protection box says so, and its Configure button opens the settings.

  1. Marker 1: No protection: shown while the public URL is on and no protection is set. Click Configure.
  2. Marker 2: The summary row shows the four protections at a glance: rate limit, signature verification, IP allowlist and API key. Response mode sits in the same row but isn't a protection; it's explained in step 06.
  3. Marker 3: Internal calls has its own switch. See step 07.
Webhook page with the No protection warning and the configuration summary

There are four protections. They work independently, and when several are on, a request must pass all of them.

  1. Marker 1: Require API Key: the sender must include a HostWebhook API key.
  2. Marker 2: Rate Limit: the most requests accepted per minute. 0 means no limit.
  3. Marker 3: IP Allowlist: one IP address or CIDR range per line. Empty accepts every address.
  4. Marker 4: Incoming signature verification: check the signature the sender adds to each request.
  5. Marker 5: Response mode is in the same form but isn't a protection. It's explained in step 06.
Protection, Incoming signature verification and Response mode sections in edit mode

Requests over the rate limit get a "too many requests" answer and aren't stored.

Require API Key

Use this when the sender is your own code or server. The request must carry a HostWebhook key in the Authorization header, the key must have the ingress:write scope, and it must be on this webhook's list of allowed keys.

Don't have a key yet? Follow Create an API key for your webhooks first. It creates a key with exactly the permission this webhook needs.

Turn on Require API Key. A list of allowed keys appears.

  1. Marker 1: Require API Key turned on.
  2. Marker 2: Allowed API Keys: click to pick the keys that may post here.
  3. Marker 3: While the list is empty, any key in your organization with the right scope is accepted.
Require API Key turned on with an empty Allowed API Keys list and a warning
  1. Marker 1: Click the key you created. Only the start of the key is shown.
  2. Marker 2: Create or manage API keys in Settings opens the API Keys page.
API key picker open with the Store orders sender key
  1. Marker 1: The selected key. Remove takes it off the list.
  2. Marker 2: Allow another API key… adds more senders.
  3. Marker 3: Now only these keys can post here. Every other key is turned away.
Allowed API Keys list with one key selected
Request with an API key
curl -X POST "https://api.hostwebhook.com/api/in/YOUR_WEBHOOK_ID" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id":"ord_1042","total":59.90}'

Services like Stripe or GitHub can't send an API key.

For webhooks that come from a third-party service, use Incoming signature verification instead.

Incoming signature verification

Services such as Stripe, GitHub and Shopify sign every webhook they send. Choose the sender under Verification type, and HostWebhook rejects any request whose signature doesn't match.

  1. Marker 1: Verification type: None by default.
  2. Marker 2: The choices: Static Secret, Stripe, GitHub, Shopify and HostWebhook (HMAC-SHA256).
Verification type dropdown open with the list of providers
  1. Marker 1: Here Stripe is selected.
  2. Marker 2: Signature Secret: paste the signing secret from the service's dashboard. It's stored encrypted and never shown again.
Stripe selected with the Signature Secret field
Verification typeWhat you enter
Stripe, GitHub, ShopifyThe signing secret from that service's webhook settings.
Static SecretA shared secret, plus an optional header name. Without one, HostWebhook checks Authorization, X-Webhook-Secret or X-API-Key.
HostWebhook (HMAC-SHA256)A Signing Secret from your account: the same one the sending webhook signs with. Pick it or create one here. For how these signatures are built and how to verify them in your own code, see Signing in the HostWebhook docs.

Requests that fail the check are stored with the status signature invalid and don't run the flow.

Response mode

Response mode decides what the sender gets back.

  • None (the default): HostWebhook answers 202 Accepted right away. The sender doesn't learn what happened next.
  • Sync: the connection stays open until the flow answers. A Schema Validator node replies 200 or 422 depending on the payload, or an AI node replies with its answer. If the flow fails, the sender gets a 500 with the reason.
  1. Marker 1: None: fire and forget.
  2. Marker 2: Sync: answer the caller.
  3. Marker 3: The sender waits up to 20 seconds for a Schema Validator, or up to 55 seconds when an AI node can answer.
  4. Marker 4: This warning appears while no node in the flow can answer.
Response mode with Sync selected and its explanation

Sync needs a node that can answer.

Connect a Schema Validator or an AI node after the webhook on the canvas before you choose Sync. Without one, every call waits and then times out.

For examples of synchronous replies, see Sync responses in the HostWebhook docs.

Internal calls

Internal calls lets other flows and AI agents in your organization trigger this webhook directly: no HTTP request, no URL, no signature and no API key. It's off by default, so a webhook is never callable from inside by accident.

  1. Marker 1: Turn on Internal calls.
  2. Marker 2: Outgoing: the webhooks this one fires. Click Add a target to add one.
  3. Marker 3: Incoming: the webhooks and AI nodes that fire this one. Click Add a source to add one.
Internal calls turned on with the Outgoing and Incoming link lists

Internal calls and Public URL are separate switches. You can turn the public URL off and keep internal calls on, for a step that only your own flows can start.

To link two flows, choose sync or async, and let an AI agent call the webhook as a tool, follow Connect flows with Webhook Internal calls.

What happens to repeated deliveries?

Senders often retry, so HostWebhook skips duplicates on its own; there's nothing to set up. A request counts as a repeat when it has the same Idempotency-Key header, the same delivery ID from the provider (GitHub, Shopify, PayPal, Twilio and Standard Webhooks are recognized) or the same id field in the body as one received in the last 5 minutes. The duplicate gets a success answer containing deduplicated, so the sender stops retrying, and the flow doesn't run again. Requests with none of these identifiers are never treated as duplicates.

Troubleshooting

What you seeCauseFix
Requests fail right after a changeThe URL was rotated, or Public URL is off.Copy the new URL with Copy full URL, or turn Public URL back on.
Requests with an API key are rejectedThe key is missing the ingress:write scope, or isn't in Allowed API Keys.Check the key on the API Keys page and add it to the list.
Events show signature invalidThe secret doesn't match the one the sender uses.Copy the signing secret from the sender's dashboard again.
Sync calls time outNo Schema Validator or AI node can answer.Connect one after the webhook, or switch back to None.
Saving the Target URL failsThe address is localhost or a private IP.Use a public address, or hostwh listen for local development.