Get All Webhooks

Programatically retrieve all your Helius webhooks.

Due to response size limitations, the number of returned addresses per configuration is capped at 100. To access the complete list of addresses, use our Get Webhook by ID endpoint.

GET /webhooks

Code Example

const getWebhooks = async () => {
    try {
      const response = await fetch(
        "https://api.helius.xyz/v0/webhooks?api-key=<PASTE YOUR API KEY HERE>",
        {
          method: 'GET',
          headers: {
            'Content-Type': 'application/json',
          }
        }
      );
      const data = await response.json();
      console.log({ data });
    } catch (e) {
      console.error("error", e);
    }
  };
getWebhooks();

Last updated