Webhooks

Stelace Webhooks let you to trigger custom logic on external systems using Events.

Whenever event occurs, full Event object is sent to your targetUrl. A name is required to easily identify your Webhooks.

await stelace.webhooks.create({
  name: 'New assets',
  event: 'asset__created',
  targetUrl: 'https://example.com/webhooks'
})