Update a webhook
Updates an existing webhook.
x-glacier-api-key<token>
Api keys provide higher access to rate limits. To obtain an api key, sign up for an account at https://build.avax.network/console/utilities/data-api-keys.
In: header
Path Parameters
idstring
The webhook identifier.
name?string
description?string
url?string
status?string
Value in
"active" | "inactive"includeInternalTxs?boolean
Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
includeLogs?boolean
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://data-api.avax.network/v1/webhooks/f33de69c-d13b-4691-908f-870d6e2e6b04" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "string",
"url": "string",
"chainId": "string",
"status": "active",
"createdAt": 0,
"name": "string",
"description": "string",
"eventType": "address_activity",
"metadata": {
"eventSignatures": [
"0x61cbb2a3dee0b6064c2e681aadd61677fb4ef319f0b547508d495626f5a62f64"
],
"addresses": [
"0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E"
]
},
"includeInternalTxs": true,
"includeLogs": true
}{
"message": "string",
"statusCode": 400,
"error": "Bad Request"
}{
"message": "string",
"statusCode": 401,
"error": "Unauthorized"
}{
"message": "string",
"statusCode": 403,
"error": "Forbidden"
}{
"message": "string",
"statusCode": 404,
"error": "Not Found"
}{
"message": "string",
"statusCode": 429,
"error": "Too Many Requests"
}{
"message": "string",
"statusCode": 500,
"error": "Internal Server Error"
}{
"message": "string",
"statusCode": 502,
"error": "Bad Gateway"
}{
"message": "string",
"statusCode": 503,
"error": "Service Unavailable"
}Is this guide helpful?