Now open. Sign up with a work email and get 250 free credits, no card. Get your free API key →
FOR AGENTSSkip the HTML: this page as .md · llms.txt · openapi.json · MCP mcp.dizo.ai/mcp
Feature · Webhooks

Stop polling. Let Dizo call you.

`POST /v1/webhooks` registers an endpoint for eight event types, from `batch.completed` to `billing.cap_reached`. Every delivery is HMAC-signed and retried with backoff for 24 hours.

// highlights

What it does.

Eight event types

Batches, lists, monitors, job-change signals and four billing events. Subscribe to some or, by default, all.

Signed deliveries

Every request carries a Dizo-Signature header with a timestamp and an HMAC-SHA256 of the body.

Retried for 24 hours

If your endpoint is down or slow, Dizo retries with backoff for a full day.

Rotate any time

The signing secret is shown once. Rotate it with POST /v1/webhooks/{id}/rotate.

Billing alerts included

Get billing.cap_warning, billing.cap_reached, billing.low_balance and billing.refilled in the same stream.

Free

Registering endpoints and receiving events never costs credits.

// how it works

How it works.

  1. Build a receiverExpose an HTTPS endpoint that reads the raw body and returns 2xx quickly.
  2. Register itCall POST /v1/webhooks with the url, the events you want and a description.
  3. Store the secretSave the whsec_ secret from the response. It is shown once.
  4. Verify and routeCheck the signature, then route each event type to its own handler.
// apis

APIs behind it.

One credit balance across every API. 1 credit = $0.025 at list price, $0.010 at volume.

APIEndpointCreditsCharged
WebhooksPOST /v1/webhooksFreeNever
Batch statusGET /v1/batch/{id}FreeNever
MonitorsPOST /v1/monitors1 credit / 25 new resultsPer new result
Job-change signalsPOST /v1/signals/watch1 credit / changePer change detected
Spend limitsPUT /v1/billing/limitsFreeNever

See all pricing →

// integrations

Works where you work.

Why Dizo pushes events

Several Dizo jobs finish long after the request that started them. A batch of 10,000 lookups runs asynchronously. A list job searches, enriches and dedupes in the background. A monitor reruns on a schedule for weeks. A job-change watchlist can sit quietly for months before anything happens. Polling for all of that means writing loops that mostly ask "anything yet?" and get "no".

Webhooks invert the flow. You register an HTTPS endpoint once, and Dizo sends an HTTP POST to it whenever something you care about happens. Your systems react to real events instead of checking on a timer. That is simpler code, faster reactions and fewer wasted requests.

Registration and delivery are free. The webhook glossary entry explains the general pattern; this page covers Dizo's events, signing, retries and the handler practices that keep a receiver reliable.

The eight event types

When you call POST /v1/webhooks, the events array chooses what this endpoint receives. If you leave it out, the endpoint gets everything. Events fall into two groups: data events, which tell you work is ready, and billing events, which tell you something about money.

  • batch.completed: a batch job has finished and its results file is ready.
  • list.completed: a list job has finished building and can be exported.
  • monitor.new_results: a monitor run found people or companies that newly match.
  • signal.job_change: a watched person changed jobs, got promoted or moved companies.
  • billing.refilled: auto-refill bought credits.
  • billing.cap_warning: spend crossed one of your alert thresholds.
  • billing.cap_reached: a cap was hit and calls will return 402.
  • billing.low_balance: your credit balance is running low.

Registering an endpoint

A registration needs a url, which must be HTTPS. Add events to subscribe selectively and a description to label the endpoint, which helps when a team runs several. The response returns an id such as wh_4Ks0, the URL, the subscribed events and a signing secret that begins whsec_. The secret is shown once, so store it in your secrets manager immediately.

A common setup uses two endpoints. One receives data events and feeds a queue that your enrichment and CRM workers read. The other receives billing events and posts to the channel your finance or operations team watches. Splitting them keeps a noisy data stream from burying a cap warning, and lets each team own its own receiver.

Some endpoints, including batch, lists, monitors and job-change watchlists, also accept a webhook_url on the request itself. That is convenient for one-off jobs. For anything recurring, a registered endpoint is easier to manage, because its secret can be rotated in one place.

Verifying signatures

Anyone who learns your endpoint URL can send it requests, so never trust a delivery without checking it. Every Dizo delivery carries a Dizo-Signature header with two parts: t= followed by a Unix timestamp, and v1= followed by a signature. The signature is an HMAC-SHA256, keyed with your signing secret, over the timestamp, a full stop and the raw request body.

To verify, read the raw body before any JSON parsing, rebuild the signed string from the header's timestamp and the body, compute the HMAC with your secret and compare it with the v1 value using a constant-time comparison. Reject the request if they differ. Also reject timestamps far from your server's clock, which limits the window for replaying an old delivery.

Parsing first and verifying later is the most common mistake. Many frameworks re-serialise JSON, which changes whitespace or key order and breaks the signature even for genuine deliveries. Keep the bytes exactly as they arrived.

Retries and idempotent handlers

If your endpoint fails to respond successfully, Dizo retries the delivery with backoff for 24 hours. That protects you from short outages and deploys, but it means your handler can see the same event more than once: for example, when your server processed the event but timed out before returning a response.

Design handlers so running them twice has the same effect as running them once. Record which events you have processed and skip repeats. Make CRM writes upserts rather than inserts. If a handler triggers a paid Dizo call, such as looking up a new email after a job change, send an Idempotency-Key derived from the event so a repeat delivery does not pay twice; retries with the same key within 24 hours are never charged again.

Return a 2xx as soon as the signature checks out and the event is queued. Do slow work afterwards. A receiver that does a long CRM sync before responding is the one that times out and triggers retries.

Routing events to handlers

Treat the event type as the first branch in your receiver. A small dispatcher that maps each type to one function keeps the code readable as you add more jobs. batch.completed and list.completed usually lead to a download step: fetch the results file or export, then load it into the CRM or warehouse. monitor.new_results and signal.job_change usually lead to a decision step: assign an owner, look up contact details if needed and create a task.

Log every delivery with its event type and the time it arrived, even the ones you ignore. When someone asks why a batch result never reached the CRM, that log is the fastest way to tell whether the event was never received, failed verification or failed in your own handler. Unknown event types should be acknowledged and logged rather than rejected, so a future addition does not trigger a day of retries against your endpoint.

Billing events as an early-warning system

Billing events turn spend limits into something your team actually hears about. Suppose your account has a monthly cap of $2,000 with alerts at 50, 80 and 100 percent. You receive billing.cap_warning when spend passes $1,000 and again at $1,600, and billing.cap_reached at $2,000, after which calls return 402 monthly_cap_reached until the next month or until someone raises the cap. Alerts go out by email as well as webhook, and a webhook also fires on every refill.

Route these to people, not just logs. A cap warning in the middle of a month is a prompt to check which key or job is spending. billing.low_balance is a prompt to top up before an important batch stalls, or a sign that auto-refill is off or skipped. The spend alerts and monthly spend cap pages cover the settings that produce these events.

Webhooks in workflow tools and agents

Workflow tools are natural receivers. Many workflow tools offer a webhook trigger that can accept the POST, and a code step can verify the signature before the rest of the workflow runs. Check your tool's own docs for how its trigger works and how it exposes the raw request body, since the raw body is what the signature covers.

Agents usually sit one step downstream. A signal.job_change event can start a workflow that hands the old and new role to an agent with instructions to draft a note and create a CRM task. A monitor.new_results event can hand an agent a short list of new matches to research. Give that agent a scoped key with a small per-request cap, because events arrive without a human watching each one.

Security and operations

Treat the signing secret like an API key. Keep it out of source control and logs, and rotate it with POST /v1/webhooks/{id}/rotate if it may have leaked or when someone with access leaves. Update your receiver with the new secret straight away, and keep the rotation step in a runbook so anyone on call can do it.

Monitor the receiver like any production service. If it is unavailable for longer than the 24-hour retry window, events can be missed. For batches, you can recover by polling GET /v1/batch/{id}, which is free and keeps results for seven days. For job changes and monitor results, alert on receiver errors so an outage is noticed within hours rather than days.

When you do not need webhooks

If you only run occasional jobs by hand, polling is fine. Checking a batch status from a script or the console costs nothing. Webhooks earn their keep when jobs are frequent, when reaction time matters, as with job changes, or when you want billing alerts delivered to a system rather than an inbox.

If you only use synchronous endpoints, such as single email or phone lookups, there is nothing to receive. The answer comes back in the response, along with the x-dizo-credits-used header, and no event is sent.

Frequently asked questions

Which events can Dizo send?

batch.completed, list.completed, monitor.new_results, signal.job_change, billing.refilled, billing.cap_warning, billing.cap_reached and billing.low_balance. An endpoint receives all of them unless you list specific events.

Do webhooks cost credits?

No. Registering endpoints and receiving deliveries are free. Credits are only spent by the jobs that produce the events, such as lookups in a batch or new results from a monitor.

How do I verify a delivery came from Dizo?

Check the Dizo-Signature header. Compute an HMAC-SHA256 with your signing secret over the timestamp, a full stop and the raw body, and compare it with the v1 value.

What happens if my endpoint is down?

Dizo retries with backoff for 24 hours. Make handlers safe to run twice, since a retry can deliver an event you already processed.

Can I rotate the signing secret?

Yes, with POST /v1/webhooks/{id}/rotate. The new secret is shown once, so store it and update your receiver.

Can I have more than one endpoint?

Yes. Register each URL separately with its own events, for example one endpoint for data events and another for billing alerts.

Last reviewed 2026-11-24.

Start free.

Free credits with a work email. No card. Test keys are free forever.

Get your free API key