Skip to main content
Data Feeds is in early access. Contact us to set up a subscription; the API and sync client described here open to early access customers first.
Each subscription has an event log. Events are ordered, each has an id that increases, and you read them after the last one you applied. Webhooks deliver the same events as they happen, so you do not have to poll.

Event types

reason is one of key_columns_changed, cursor_expired, left_coverage, subscription_changed or source_retired.

Reading the log

Returns events and hasMore. Apply events in order, and store the id of the last one you applied only after it is applied. A crash then repeats at most one event, and every event is safe to apply twice. Events are kept for 90 days. An after older than that returns 410: reload from the subscription’s manifest, which gives a fresh cursor.

Webhooks

Create a webhook for the subscription’s events:
Each POST is signed with Standard Webhooks, using the secret returned once when the webhook is created. Verify the signature, answer 2xx quickly and do the work afterwards. Failed deliveries are retried with backoff. Treat a webhook as the signal to read the log, not as the record. If your receiver was down, the log still has every event.