Events
Update an event webhook
API Documentation
Address
Airdrops
Events
Farming
DEFI Actions
Events
Update an event webhook
Updates the specified webhook.
PUT
/
events
/
webhooks
/
{id}
curl --request PUT \
--url https://api.getnimbus.io/events/webhooks/{id} \
--header 'Content-Type: application/json' \
--data '{
"url": "<string>",
"addresses": [
"<string>"
]
}'
{
"data": {
"id": "<string>",
"owner": "<string>",
"url": "<string>",
"addresses": [
"<string>"
],
"chain": "SUI",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
Path Parameters
The ID of the webhook to update
Body
application/json
The new URL for the webhook.
Updated list of addresses to monitor.
Response
200
application/json
Webhook updated successfully
The API key of the webhook owner
The URL to which webhook events will be sent
List of addresses being monitored by this webhook
The unique identifier for the webhook
The blockchain chain associated with this webhook
The date and time when the webhook was created
The date and time when the webhook was last updated
curl --request PUT \
--url https://api.getnimbus.io/events/webhooks/{id} \
--header 'Content-Type: application/json' \
--data '{
"url": "<string>",
"addresses": [
"<string>"
]
}'
{
"data": {
"id": "<string>",
"owner": "<string>",
"url": "<string>",
"addresses": [
"<string>"
],
"chain": "SUI",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}