POST
/
rpc
/
Indexer
/
UpdateWebhookListener
curl --request POST \
  --url https://amoy-indexer.sequence.app/rpc/Indexer/UpdateWebhookListener \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "filters": {
    "accounts": [
      "0xe6eB28398CCBe46aA505b62b96822c2Ce8DAABf4"
    ],
    "contractAddresses": [
      "0x9bec34c1f7098e278afd48fedcf13355b854364a"
    ],
    "tokenIDs": [
      "100"
    ],
    "events": [
      "Transfer(address indexed from, address indexed to, uint256 indexed tokenId)"
    ]
  },
  "projectId": 31396,
  "url": "https://webhook.site/#!/view/a2859143-0a52-4b69-98f2-a58733e4dcf0"
}'
{
  "status": true,
  "listener": {
    "id": 2435835685,
    "projectID": 31396,
    "url": "https://webhook.site/#!/view/a2859143-0a52-4b69-98f2-a58733e4dcf0",
    "filters": {
      "events": [
        "Transfer(address indexed from,address indexed to,uint256 indexed tokenId)"
      ],
      "contractAddresses": [
        "0x9bec34c1f7098e278afd48fedcf13355b854364a"
      ],
      "accounts": [
        "0xe6eb28398ccbe46aa505b62b96822c2ce8daabf4"
      ],
      "tokenIDs": [
        "100"
      ]
    },
    "name": "webhook.site #b5cf2f",
    "updatedAt": "2024-10-10T20:52:58.924369913Z",
    "active": true
  }
}

Authorizations

Authorization
string
header
required

Secret JWT token for authenticating requests obtained from Sequence Builder - should not be exposed publicly.

Body

application/json
listener
object
projectId
number

Response

200
application/json
OK
status
boolean