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.
- In the Artie dashboard, open Monitors > Webhooks and select New webhook.
- Enter a Name. Each webhook in your workspace needs a different name.
- Enter the Webhook URL. It must start with
https://. - Under Events, select at least one event.
- Select Save. The webhook appears in the list with the status Active.
The other fields in Create webhook are optional:
| Field | Default | What it does |
|---|---|---|
| Authorization (Bearer token) | Empty | Artie sends Authorization: Bearer TOKEN on each delivery, and signs each delivery with TOKEN in the X-Artie-Signature header. See Delivery behavior. |
| Format | Event payload | Event payload sends the JSON event in Payload structure. Slack sends a Block Kit message to a Slack incoming webhook. |
| Data planes | All selected | The webhook receives events only from pipelines in the selected data planes. A webhook limited to some data planes does not receive dek.generated. |
| Active | On | Turn 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
- In Monitors > Webhooks, select the webhook’s row. Its delivery logs open.
- 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:
| Format | Test delivery |
|---|---|
| Event payload | A generic event: event is test, message is Test webhook from Artie, and properties.table is test_table. |
| Slack | A 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:
| Property | Value |
|---|---|
| Method | POST |
| Content type | Content-Type: application/json |
| Authentication | Authorization: Bearer TOKEN, when you set a bearer token. Validate the header on your server. |
| Signature | X-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. |
| Success | Any HTTP 2xx status |
| Timeout | 10 seconds |
| Retries | Up to 5 after the first attempt. delivery_metadata.attempt counts the attempts, starting at 1. |
| Redirects | Followed only to https:// URLs |
| Addresses | Public 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:
| Field | Type | Description |
|---|---|---|
event | string | Event type, such as replication.error. |
message | string | Human-readable summary of the event. |
severity | string | info, warning or error. |
timestamp | string | Time the event occurred, in RFC 3339 format. |
source_reader_uuid | string | UUID of the source reader the event belongs to. |
pipelines | array | The uuid and name of each pipeline the event belongs to. |
source | string | Source connector type, such as postgresql. |
destination | string | Destination connector type, such as snowflake. |
environment_uuid | string | UUID of the event’s environment. |
environment_name | string | Name of the event’s environment. |
delivery_metadata | object | attempt is the delivery attempt number, starting at 1. |
properties | object | Fields 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:
{
"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.
| Event | Severity | Description |
|---|---|---|
replication.started | info | The replication process has started. |
replication.error | error | An error occurred during replication. |
row.skipped | warning | A row was not written due to size limits. |
ddl.seen | info | A DDL statement was detected in the CDC stream (MySQL only). |
ddl.applied | info | Artie has applied a schema change to the destination. |
backfill.started | info | A backfill has started for a table. |
backfill.completed | info | A backfill has finished successfully. |
backfill.failed | error | A backfill failed before completing. |
dedupe.started | info | A deduplication job has started for a table. |
dedupe.completed | info | A deduplication job has finished successfully. |
dedupe.failed | error | A deduplication job failed. |
oom.killed | error | A backfill pod ran out of memory. |
dek.generated | info | A 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.
| Event | Use instead |
|---|---|
replication.failed | replication.error |
connection.failed | replication.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
webhook returned non-2xx status code: 401Cause: 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
failed to send HTTP requestCause: 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://
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?
- Need help? Message us on Slack or email [email protected].
- Want a walkthrough? Book a demo.
- LLM? Read llms.txt.