GET
/
webhooks
curl --request GET \
  --url https://api.chainbase.online/v1/webhooks \
  --header 'x-api-key: <x-api-key>'
"{\"code\":0,\"msg\":\"ok\",\"data\":{\"total\":2,\"data\":[{\"webhook_id\":\"9748042d-0eee-4baf-b508-1c5ec8c07686\",\"filters\":[],\"webhook_name\":\"massive-logs\",\"webhook_url\":\"https://gtsfh5g3c4.hk.aircode.run/erc20transfer\",\"data_source\":\"ethereum_logs\",\"additional_headers\":[],\"created_at\":\"2023-08-20T07:14:58.872523Z\",\"updated_at\":\"2023-08-20T07:14:58.872523Z\",\"status\":0},{\"webhook_id\":\"eefbb329-4009-4372-91e5-c906fed17db1\",\"filters\":[],\"webhook_name\":\"massive-erc20-transfer\",\"webhook_url\":\"http://receive-service.chainbase-uat.svc.cluster.local:8080\",\"data_source\":\"ethereum_logs\",\"additional_headers\":[{\"name\":\"Authorization\",\"value\":\"Bearer xyz\"}],\"created_at\":\"2023-08-25T07:27:15.611135Z\",\"updated_at\":\"2023-08-25T07:27:15.611135Z\",\"status\":0}]}}"

Headers

x-api-key
string
required

YOUR-API-KEY

Query Parameters

offset
integer
default:
0

Offset of the webhooks pagination

limit
integer
default:
10

Limit of the webhooks pagination

status
string
default:
-1

Status of the webhook

data_source
string

Data source the webhook subscribe to

Response

200
application/json
200
code
integer
default:
0
msg
string
data
object