Offline Sync
Batch sync endpoint for offline-first clients (PWA). Idempotent per op, identity-mapped via the sync_registry. Push-only create-forward in v1, two-way ready.
⚡ Built-in — No Setup Required
This integration is built into the WebsitePublisher platform. All endpoints are available immediately — no API key needed.
Endpoints (2)
POST
ping
Connectivity + auth liveness check. Returns server time (ISO 8601).
No input parameters required.
POST
sync
Process a batch of offline operations. Idempotent per op_id, partial success. Failed ops stay client-queued.
| Field | Type | Required | Description |
|---|---|---|---|
client_id |
string | ✓ Yes | Device/installation id (ULID). |
ops |
array | ✓ Yes | Operations. Each op: {op_id, kind, resource_type?, client_uid?, deleted?, payload}. |
MCP Tool Names
When using this integration through an AI assistant (Claude, ChatGPT, Cursor, etc.), the endpoints are available as MCP tools:
| Endpoint | MCP Tool Name |
|---|---|
| ping | offline_sync_ping |
| sync | offline_sync_sync |