Webhooks

Create a webhook

Create a new webhook.

post/v1/webhooks

Request

  • Base URL: https://data-api.avax.network
  • URL: https://data-api.avax.network/v1/webhooks
  • Auth: one of:
    • API key in header x-glacier-api-key
    • none

Request body

OR
OR

Example request

{
  "metadata": {
    "eventSignatures": [
      "0x61cbb2a3dee0b6064c2e681aadd61677fb4ef319f0b547508d495626f5a62f64"
    ],
    "addresses": [
      "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E"
    ]
  }
}

Response

Successful response

OR
OR

Example response

{
  "metadata": {
    "eventSignatures": [
      "0x61cbb2a3dee0b6064c2e681aadd61677fb4ef319f0b547508d495626f5a62f64"
    ],
    "addresses": [
      "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E"
    ]
  }
}

Changes

No recorded changes to this operation across all 3 revisions of this API.