updateWebhook - SDK
Update a NftActivityWebhook’s active status or NFT filters.
Update a NftActivityWebhook's
active status or NFT filters.
Don’t have an API key?
Start using this method in your app today. Get started for free
Description
Update a NftActivityWebhook's
active status or NFT filters.
Parameters
update
parameters
Include only one of these update
objects as the second parameter.
Response
Example Request and Response
Prerequisite: You will need to install the Alchemy SDK before making requests with it.
The commands for installing it using npm or yarn are given below:
Request
Response
Use Cases
Here are some potential use cases for the updateWebhook
method:
-
Changing the endpoint URL: If you need to update the endpoint URL for an existing webhook, you can use the
updateWebhook
method to change it. -
Updating the authentication credentials: If you need to update the authentication credentials for an existing webhook, you can use the
updateWebhook
method to provide new credentials. -
Modifying the notification format: If you need to modify the format of the notifications that are sent to the webhook, you can use the
updateWebhook
method to update the payload format. -
Adding or removing headers: If you need to add or remove headers to the requests that are sent to the webhook, you can use the
updateWebhook
method to modify the headers.
Related Methods
- createWebhook - Create a new Webhook to track transactions sent by the app associated with the app id.