Skip to contentManaged Kafka is live: Apache Kafka on AWS for half the cost of MSK

Webhook events

Webhooks

Artie sends an HTTPS POST to your endpoint, or a message to Slack, each time an event you subscribe to happens in your pipelines.

Each webhook subscribes to the event types you pick, such as replication errors, backfill status and schema changes.

Configure a webhook

View-only users can browse webhooks and delivery logs. They cannot create, edit, delete or test a webhook.

  1. In the Artie dashboard, open Monitors > Webhooks and select New webhook.
  2. Enter a Name. Each webhook in your workspace needs a different name.
  3. Enter the Webhook URL. It must start with https://.
  4. Under Events, select at least one event.
  5. Select Save. The webhook appears in the list with the status Active.

The other fields in Create webhook are optional:

FieldDefaultWhat it does
Authorization (Bearer token)EmptyArtie sends Authorization: Bearer TOKEN on each delivery, and signs each delivery with TOKEN in the X-Artie-Signature header. See Delivery behavior.
FormatEvent payloadEvent payload sends the JSON event in Payload structure. Slack sends a Block Kit message to a Slack incoming webhook.
Data planesAll selectedThe webhook receives events only from pipelines in the selected data planes. A webhook limited to some data planes does not receive dek.generated.
ActiveOnTurn it off to stop deliveries and keep the webhook. The status changes to Inactive.

TOKEN is the value you enter in Authorization (Bearer token). Preview shows the body your endpoint receives for one event, built from sample data.

When the URL contains hooks.slack.com, Format switches to Slack. It stops switching after you change Format yourself. Slack messages leave out the primary_keys of a row.skipped event, because they are row values.

Verify your endpoint

  1. In Monitors > Webhooks, select the webhook’s row. Its delivery logs open.
  2. Select Send test.

Artie shows Test event sent successfully, and the logs list a delivery with the event type test. What your endpoint receives depends on Format:

FormatTest delivery
Event payloadA generic event: event is test, message is Test webhook from Artie, and properties.table is test_table.
SlackA sample message marked [TEST], with a line saying the data is sample data.

Artie sends a test once and does not retry it. A failed test changes the webhook’s status to Failing.

To test several webhooks, select their checkboxes, then select Test selected. You can test up to 20 webhooks at a time. Send test is also in Edit webhook when the webhook has no unsaved changes.

Delivery behavior

Each delivery is one HTTP request:

PropertyValue
MethodPOST
Content typeContent-Type: application/json
AuthenticationAuthorization: Bearer TOKEN, when you set a bearer token. Validate the header on your server.
SignatureX-Artie-Signature: t=TIMESTAMP,v1=SIGNATURE, when you set a bearer token. TIMESTAMP is Unix seconds. SIGNATURE is the hex HMAC-SHA256 of TIMESTAMP, a . and the raw body, keyed with TOKEN. To reject a replayed delivery, check that TIMESTAMP is recent.
SuccessAny HTTP 2xx status
Timeout10 seconds
RetriesUp to 5 after the first attempt. delivery_metadata.attempt counts the attempts, starting at 1.
RedirectsFollowed only to https:// URLs
AddressesPublic addresses only. Artie refuses private, loopback and link-local addresses.

If the last retry fails, the webhook shows Failing and your workspace’s alert email recipients get one email. Another email goes out when delivery recovers.

Artie does not deliver an error event for a failure it classifies as transient. Examples are errors that contain connection reset by peer or context canceled.

A pipeline’s Disable alert emails setting, under Advanced settings, mutes that pipeline’s email alerts and keeps health tracking on. It does not affect webhooks or the dashboard’s health cards.

Payload structure

Every Event payload delivery has these top-level fields:

FieldTypeDescription
eventstringEvent type, such as replication.error.
messagestringHuman-readable summary of the event.
severitystringinfo, warning or error.
timestampstringTime the event occurred, in RFC 3339 format.
source_reader_uuidstringUUID of the source reader the event belongs to.
pipelinesarrayThe uuid and name of each pipeline the event belongs to.
sourcestringSource connector type, such as postgresql.
destinationstringDestination connector type, such as snowflake.
environment_uuidstringUUID of the event’s environment.
environment_namestringName of the event’s environment.
delivery_metadataobjectattempt is the delivery attempt number, starting at 1.
propertiesobjectFields specific to the event type.

On events that don’t come from a pipeline, such as dek.generated, source_reader_uuid is all zeros and pipelines, source, and destination are empty. environment_uuid and environment_name are left out when the event has no environment.

This is a replication.error delivery on its first attempt:

JSON
{
  "event": "replication.error",
  "message": "Replication error",
  "severity": "error",
  "timestamp": "2026-06-20T12:00:00Z",
  "source_reader_uuid": "11111111-1111-1111-1111-111111111111",
  "pipelines": [
    { "uuid": "22222222-2222-2222-2222-222222222222", "name": "Production Postgres → Snowflake" }
  ],
  "source": "postgresql",
  "destination": "snowflake",
  "environment_uuid": "33333333-3333-3333-3333-333333333333",
  "environment_name": "Production",
  "delivery_metadata": { "attempt": 1 },
  "properties": {
    "error": "failed to flush: context deadline exceeded",
    "topic": "dbserver1.public.orders"
  }
}

The properties field varies by event type. Each event page linked from Event types lists its fields, rendered from the OpenAPI spec. Accept keys you don’t recognize, because Artie may add fields to properties at any time.

Event types

A webhook receives only the events selected under Events.

EventSeverityDescription
replication.startedinfoThe replication process has started.
replication.errorerrorAn error occurred during replication.
row.skippedwarningA row was not written due to size limits.
ddl.seeninfoA DDL statement was detected in the CDC stream (MySQL only).
ddl.appliedinfoArtie has applied a schema change to the destination.
backfill.startedinfoA backfill has started for a table.
backfill.completedinfoA backfill has finished successfully.
backfill.failederrorA backfill failed before completing.
dedupe.startedinfoA deduplication job has started for a table.
dedupe.completedinfoA deduplication job has finished successfully.
dedupe.failederrorA deduplication job failed.
oom.killederrorA backfill pod ran out of memory.
dek.generatedinfoA new Data Encryption Key (DEK) was generated.

database.discovered, database.removed, and database.discovery_failed appear in the Events list, but Artie doesn’t send them.

Deprecated events

Artie no longer sends these events, although both still appear in the Events list. Subscribe to replication.error instead.

EventUse instead
replication.failedreplication.error
connection.failedreplication.error

Troubleshooting

A failed delivery shows its error in the webhook’s delivery logs. A failed test shows it after Test failed:.

webhook returned non-2xx status code

Text
webhook returned non-2xx status code: 401

Cause: Your endpoint answered with a status outside 200 to 299. Artie retries, then marks the webhook Failing.

Fix: Return a 2xx status from your handler. If you set Authorization (Bearer token), accept the same value in the Authorization: Bearer TOKEN header. If you verify X-Artie-Signature, compute the HMAC over the raw body before your server parses it.

Verify: Select Send test. Artie shows Test event sent successfully, and the status returns to Active.

failed to send HTTP request

Text
failed to send HTTP request

Cause: Artie got no response. Your endpoint took longer than 10 seconds or refused the connection. A private address or a redirect to an http:// URL causes the same error.

Fix: Respond within 10 seconds from a public https:// address.

Verify: Select Send test. Artie shows Test event sent successfully.

url must start with https://

Text
url must start with https://

Cause: The Webhook URL uses http://. Artie delivers only to https:// URLs. A webhook saved with http:// in the past logs Not sent: Artie only delivers webhooks to https URLs.

Fix: Change Webhook URL to an https:// address, then select Save.

Verify: The webhook saves without the error.

The endpoint receives the wrong body format

Cause: Format doesn’t match the endpoint. Slack sends Block Kit messages, and Event payload sends the JSON event.

Fix: In Edit webhook, set Format to Slack for a Slack incoming webhook URL. Set it to Event payload for any other JSON consumer.

Verify: Select Send test and check the endpoint or the Slack channel.

Was this page helpful?