List webhook subscriptions.
curl --request GET \
--url https://api.byzantine.fi/v1/webhooks/subscriptions \
--header 'X-Pubkey: <x-pubkey>' \
--header 'X-Pubkey, X-Timestamp, X-Signature: <api-key>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>'import requests
url = "https://api.byzantine.fi/v1/webhooks/subscriptions"
headers = {
"X-Pubkey": "<x-pubkey>",
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"X-Pubkey, X-Timestamp, X-Signature": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Pubkey': '<x-pubkey>',
'X-Timestamp': '<x-timestamp>',
'X-Signature': '<x-signature>',
'X-Pubkey, X-Timestamp, X-Signature': '<api-key>'
}
};
fetch('https://api.byzantine.fi/v1/webhooks/subscriptions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"subscriptions": [
{
"subscription": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"integratorId": "550e8400-e29b-41d4-a716-446655440000",
"url": "<string>",
"enabled": true,
"eventTypes": "<unknown>",
"endpointSafetyMetadata": "<unknown>",
"httpHeaders": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"activeSigningKeyId": "550e8400-e29b-41d4-a716-446655440000"
},
"publicKey": "<string>",
"algorithm": "<string>"
}
]
}Webhooks
List webhook subscriptions.
Returns all webhook subscriptions owned by the authenticated integrator, including each subscription’s active public signing key.
GET
/
v1
/
webhooks
/
subscriptions
List webhook subscriptions.
curl --request GET \
--url https://api.byzantine.fi/v1/webhooks/subscriptions \
--header 'X-Pubkey: <x-pubkey>' \
--header 'X-Pubkey, X-Timestamp, X-Signature: <api-key>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>'import requests
url = "https://api.byzantine.fi/v1/webhooks/subscriptions"
headers = {
"X-Pubkey": "<x-pubkey>",
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"X-Pubkey, X-Timestamp, X-Signature": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Pubkey': '<x-pubkey>',
'X-Timestamp': '<x-timestamp>',
'X-Signature': '<x-signature>',
'X-Pubkey, X-Timestamp, X-Signature': '<api-key>'
}
};
fetch('https://api.byzantine.fi/v1/webhooks/subscriptions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"subscriptions": [
{
"subscription": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"integratorId": "550e8400-e29b-41d4-a716-446655440000",
"url": "<string>",
"enabled": true,
"eventTypes": "<unknown>",
"endpointSafetyMetadata": "<unknown>",
"httpHeaders": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"activeSigningKeyId": "550e8400-e29b-41d4-a716-446655440000"
},
"publicKey": "<string>",
"algorithm": "<string>"
}
]
}
