Skip to main content
PUT
/
beta
/
evm
/
subscriptions
/
webhooks
/
{webhookId}
/
addresses
Replace webhook addresses
curl --request PUT \
  --url https://api.sim.dune.com/beta/evm/subscriptions/webhooks/{webhookId}/addresses \
  --header 'Content-Type: application/json' \
  --header 'X-Sim-Api-Key: <x-sim-api-key>' \
  --data '{
  "addresses": [
    "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
    "0x3f60008Dfd0EfC03F476D9B489D6C5B13B3eBF2C"
  ]
}'
This response does not have an example.
Replaces the entire list of subscribed addresses for a webhook. The new list completely overwrites the existing addresses. Use this endpoint when you want to:
  • Replace the entire address list with a new set
  • Reset the subscription to monitor a different set of addresses
  • Perform a bulk update of all addresses at onc
This endpoint replaces ALL existing addresses. Any addresses not included in the new list will be removed from the subscription. If you only need to add or remove specific addresses without replacing the entire list, use the Update Addresses endpoint instead.

Headers

X-Sim-Api-Key
string
required

Used for authenticating requests. Provide an API key with a purpose of Sim API. See Authentication.

Path Parameters

webhookId
string<uuid>
required

The unique identifier of the webhook.

Body

application/json
addresses
string[]
required

New list of addresses to monitor. This replaces the existing list entirely.

EVM address.

Response

Addresses replaced successfully. No response body.