List webhooks
Lists webhooks for the user.
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
Query Parameters
pageToken?string
A page token, received from a previous list call. Provide this to retrieve the subsequent page.
pageSize?integer
The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
Default
10Range
1 <= value <= 100status?string
Status of the webhook. Use "active" to return only active webhooks, "inactive" to return only inactive webhooks. Else if no status is provided, all configured webhooks will be returned.
Value in
"active" | "inactive"Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://data-api.avax.network/v1/webhooks?pageSize=10&status=active"{
"nextPageToken": "string",
"webhooks": [
{
"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?