Webhooks

Webhooks

Send real-time notifications to external services whenever content changes in your project.

Webhooks Webhooks

What is a Webhook?

A Webhook is an HTTP POST call emitted by ElmapiCMS to a URL you provide. The payload includes event details and (optionally) the full content record.

Use cases:

  • Trigger static-site rebuilds (Netlify, Vercel).
  • Send messages to Slack/Discord.
  • Sync changes to a search index.
  • Run custom automation via serverless functions.

Setting up queue for webhooks

ElmapiCMS uses a queue to process webhooks. This is to ensure that the webhook is processed even if the request fails.

For more information on how to set up the queue, please refer to the Configuring Queues for Webhooks.

Webhooks List

Each row shows Name, URL, Collections, Events, Sources, Status and a Logs button.

Click a row to edit the webhook.

Creating / Editing a Webhook

  1. Click New Webhook (or select an existing one).
  2. Fill in the fields:
FieldDescription
NameInternal label.
DescriptionOptional.
URLEndpoint to receive POST requests.
Secret(Optional) Shared secret for signing payloads. Passed as X-Elmapi-Signature header (SHA-256 HMAC).
CollectionsLimit events to specific collections (blank = all).
EventsChoose one or many (see table below).
Sourcescms (changes from the UI) • api (changes via API).
Include PayloadSend the full content JSON in data key.
StatusActive / Inactive toggle.

Available Events

EventFires when…
content.createdEntry is created (any status).
content.updatedEntry is updated.
content.trashedMoved to trash (soft-delete).
content.deletedPermanently deleted.
content.publishedStatus changes Draft → Published.
content.unpublishedPublished → Draft.
content.restoredRestored from trash.

The Events dropdown defaults to content.created.

Logs

Click Logs to view deliveries, responses and retry attempts. Useful for debugging.

Security & Retries

  • If Secret is set, validate the X-Elmapi-Signature header:
    sha256=HMAC_SHA256(body, secret)
  • ElmapiCMS retries up to 3 times with exponential back-off for non-2xx responses.

Permissions

AbilityPurpose
access_webhooks_settingsView tab, create / edit / delete webhooks

Search documentation

Find guides and reference pages