get https://api.fulcrumapp.com/api/v2/webhooks.json
API Library Examples
from fulcrum import Fulcrum
fulcrum = Fulcrum('{token}')
webhooks = fulcrum.webhooks.search()
for webhook in webhooks['webhooks']:
# print(webhook) # entire webhook
print(webhook['name']) # just the webhook name
const { Client } = require('fulcrum-app');
const client = new Client('{token}');
client.webhooks.all()
.then((page) => {
page.objects.forEach(webhook => {
// console.log(webhook); // entire webhook
console.log(webhook.name); // just the webhook name
});
})
.catch((error) => {
console.log(error.message);
});
require 'fulcrum'
client = Fulcrum::Client.new('{token}')
webhooks = client.webhooks.all()
for webhook in webhooks.objects do
# puts webhook # entire webhook
puts webhook['name'] # just the webhook name
end