POST
/
rpc
/
Indexer
/
GetAllWebhookListeners
curl --request POST \
  --url https://amoy-indexer.sequence.app/rpc/Indexer/GetAllWebhookListeners \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "projectId": 31396
}'
{
  "listeners": [
    {
      "id": 160497579,
      "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": null
      },
      "name": "webhook.site #a84730",
      "updatedAt": "2024-10-10T20:37:01.685037Z",
      "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
projectId
number

Response

200
application/json
OK
listeners
object[]

[]WebhookListener