APITube Help Center

How to Set Up a Webhook for a Saved Search

Save a search and choose where its articles are sent

Erick Horn

Written by Erick Horn

June 27, 2026

Updated October 16, 2026

How to set up a webhook for a saved search

Open Webhooks → Create webhook in the dashboard. Enter your endpoint URL, choose an API key and add search filters. APITube will send new matching articles to that URL by HTTP POST.

Where do you create a webhook?

Open Create webhook from the dashboard’s Webhooks list. Webhooks are created in the dashboard; the API manages existing ones. For an overview, read what webhooks are and how they work.

You need an owner, admin or member role, plus an active API key in the current workspace. Viewers cannot create webhooks.

What do you enter when creating a webhook?

  • Endpoint URL: a public http:// or https:// URL. Use HTTPS for production. The form warns about plain HTTP; private and loopback addresses are rejected.
  • API key: an active key in the current workspace. Choose a live key for normal delivery or a test key to try preview content.
  • Filters: the search that decides which articles you receive.

The Create webhook page: endpoint URL and API key fields, the filter builder, and an example payload preview on the right

Use News API search filters such as title, language, country, source, category, entities or sentiment. The webhook builder excludes request options such as sorting, pagination, field selection, facets and highlighting.

For example, these filters select English articles about a company from one source:

title=acme
language.code=en
source.domain=reuters.com

Start with specific filters so deliveries stay relevant. See the official parameter reference and how to filter news by category.

Where is the signing secret?

After creation, the dashboard shows a secret starting with whsec_. Your endpoint uses it to check the X-Webhook-Signature header and confirm the delivery came from APITube.

The secret is shown once. Copy it immediately and store it securely. If you lose it, recreate the webhook; the dashboard and API cannot show it again.

The signature covers the timestamp and raw request body. See how to verify webhook signatures for working examples.

How to test the webhook before going live

Open the webhook’s details and click Send test event. It sends a signed sample immediately, even if the webhook is paused or disabled. Test events are free and appear in delivery history with the response status and body.

Confirm that your endpoint receives the request, verifies its signature and returns 2xx.

How to manage a webhook after creating it

Use the dashboard or these API requests:

# List your webhooks
curl "https://api.apitube.io/v1/webhooks" -H "X-API-Key: YOUR_API_KEY"

# Pause one (status accepts active or paused)
curl -X PATCH "https://api.apitube.io/v1/webhooks/7" \
  -H "X-API-Key: YOUR_API_KEY" -H "Content-Type: application/json" \
  -d '{"status":"paused"}'

# Delete one
curl -X DELETE "https://api.apitube.io/v1/webhooks/7" -H "X-API-Key: YOUR_API_KEY"

PATCH /v1/webhooks/:id can change the URL, filters or status. Set paused to stop delivery while keeping the configuration. Set active to resume, including after automatic disabling. See webhook retries and delivery history.

Common Questions

How many webhooks can I create?

Free allows 1, Starter and Basic allow 5 each, Professional allows 20, and Corporate allows 100. The limit applies to the account owner across workspaces. Test and live webhooks are counted separately: a Free account can have one of each.

At the limit, the dashboard asks you to upgrade before adding another.

Can I create a webhook through the API?

No. Create it in the dashboard. The API supports listing, reading, updating and deleting existing webhooks.

Who on my team can create a webhook?

Owners, admins and members can create and manage webhooks. Viewers have read-only access. Each webhook uses a workspace API key and charges its account.

Can I pause a webhook instead of deleting it?

Yes. Set its status to paused in the dashboard or through PATCH /v1/webhooks/:id. Set active to resume. Deleting is permanent and removes delivery history, so use pause for a temporary stop.


Related Articles