Get a webhook endpoint
curl --request GET \
--url https://api.compute.anonalabs.com/v1/webhooks/{webhookID} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.compute.anonalabs.com/v1/webhooks/{webhookID}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.compute.anonalabs.com/v1/webhooks/{webhookID}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"webhook": {
"id": "<string>",
"name": "<string>",
"url": "<string>",
"events": [
"<string>"
],
"enabled": true,
"secretHint": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"previousSecretValidUntil": "2023-11-07T05:31:56Z",
"lastDeliveryAt": "2023-11-07T05:31:56Z",
"lastDeliveryStatus": "<string>",
"failingDeliveries": 123,
"deadDeliveries": 123
}
}{
"code": 123,
"message": "<string>",
"error_code": "<string>"
}{
"code": 123,
"message": "<string>",
"error_code": "<string>"
}Webhooks and telemetry
Get a webhook endpoint
GET
/
v1
/
webhooks
/
{webhookID}
Get a webhook endpoint
curl --request GET \
--url https://api.compute.anonalabs.com/v1/webhooks/{webhookID} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.compute.anonalabs.com/v1/webhooks/{webhookID}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.compute.anonalabs.com/v1/webhooks/{webhookID}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"webhook": {
"id": "<string>",
"name": "<string>",
"url": "<string>",
"events": [
"<string>"
],
"enabled": true,
"secretHint": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"previousSecretValidUntil": "2023-11-07T05:31:56Z",
"lastDeliveryAt": "2023-11-07T05:31:56Z",
"lastDeliveryStatus": "<string>",
"failingDeliveries": 123,
"deadDeliveries": 123
}
}{
"code": 123,
"message": "<string>",
"error_code": "<string>"
}{
"code": 123,
"message": "<string>",
"error_code": "<string>"
}