State

Sync

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

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

Incremental sync

Remote 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 cursor is invalidated, 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"