---
title: "Background Sync"
method: POST
path: "/api/sync/background"
tags: ["Background Sync"]
---

# Background Sync

`POST /api/sync/background`

## Request

- Base URL: `https://api.earmarkiq.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.earmarkiq.app/api/sync/background`
- Auth: HTTP bearer

Lightweight background sync. Called periodically by mobile background fetch.
Rate limited to 1 call per 10 minutes per user.
Per-user lock prevents concurrent sync from foreground burst (~40 simultaneous requests).

## Response `200`

Successful Response

- BackgroundSyncResponse
  - `synced_transactions` integer, required
  - `challenges_updated` integer, required
  - `notifications_sent` integer, required
  - `last_synced_at` string, required
  - `connections_rate_limited` integer
  - `connections_consent_expired` integer
  - `connections_failed` integer

---

[API](https://skmtc.dev/earmarkiq/apis/earmark-api.md) · [All operations](https://skmtc.dev/earmarkiq/apis/earmark-api/llms.txt) · [OpenAPI document](https://skmtc.dev/earmarkiq/apis/earmark-api/revisions/4a2c41907105?raw)
