Create webhook

This endpoint allows you to create a webhook.

Headers

X-Alchemy-TokenstringRequired
Alchemy Auth token to use the Notify API.

Request

This endpoint expects an object.
networkenumRequiredDefaults to ETH_MAINNET
Network of the webhook
webhook_typeenumRequired
Type of webhook.
Allowed values:
webhook_urlstringRequired
URL where requests are sent
namestringOptional
Name of the webhook
graphql_querystring or objectOptional
addresseslist of stringsOptional

List of addresses to track. Required for ADDRESS_ACTIVITY webhook type.

nft_filterslist of objectsOptional

List of NFT filter objects to track. Required for NFT_ACTIVITY webhook type.

Response

Returns webhook creation data.
dataobject or null

Errors