List webhook endpoints
curl --request GET \
--url https://judged.systems/api/webhook-endpoints \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://judged.systems/api/webhook-endpoints', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://judged.systems/api/webhook-endpoints"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": "<string>",
"url": "<string>"
}
]{
"error": "<string>",
"issues": [
{}
]
}Webhooks
List webhook endpoints
Requires packs:read. One endpoint per user. The secret is not included.
GET
/
api
/
webhook-endpoints
List webhook endpoints
curl --request GET \
--url https://judged.systems/api/webhook-endpoints \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://judged.systems/api/webhook-endpoints', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://judged.systems/api/webhook-endpoints"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"id": "<string>",
"url": "<string>"
}
]{
"error": "<string>",
"issues": [
{}
]
}