apidata.one docs Get a key

webhook_destination_refused (400)

The endpoint's host name resolves to an address that isn't on the public internet, so the registration ping was not sent and the endpoint was not saved.

The API calls only public addresses. Private networks (10.…, 172.16.…, 192.168.…), loopback (127.…, localhost), link-local addresses, carrier-grade NAT and every other reserved range are refused, in IPv4 and IPv6 alike. A name that resolves to several addresses is refused if any one of them is not public. The answer never says which address the name resolved to.

The same check runs before every delivery, not only at registration. An endpoint whose name later starts resolving to a private address gets no requests: its deliveries show refused_destination in the delivery list.

Fix: point the host name at a public address. To receive webhooks on a development machine, use a tunnel that gives it a public https:// name, or read GET /v1/events instead, which needs no public address at all.

This page as Markdown