State

Sync

Use provider cursors, webhook repair, and replayable jobs to keep canonical data current.

Horato normalizes common fields while preserving provider IDs, etags, sync tokens, raw payloads, and capability flags.

Incremental sync

Provider deltas update canonical rows and emit internal events before customer webhook delivery. Store the `next_cursor` or sync checkpoint returned by list and sync surfaces.

Repair workflow

When a provider invalidates a cursor, start a repair sync for that connection and resource. Use webhook delivery replay after downstream systems are ready to consume repaired events.

Queue sync repairbash
curl -X POST https://api.hora.to/v1/sync/connections/conn_123/email \
  -H "Authorization: Bearer $HORATO_API_KEY"