---
description: How an API event is polled and synced, what a sync may change, manual sync, the API health states, and why edits are refused while an import runs.
---

# Syncing and API health

An API event pulls its rooms and scheduled items from an external source system. This
page explains what a sync does, how to run one by hand, what the API health states mean,
and what happens to your own edits while an import is running. Which source to connect and
how is on the [Data integrations](index.md) overview and the page for each source.

## How syncing works

- The event is polled on the **API Polling Interval** set in Event Settings, as long as
  the **API Enabled** toggle is on.
- Turning the toggle on, or back on, syncs right away (after any Cvent waiting period);
  later syncs follow the interval.
- The external source is the source of truth: items it stops sending are **deleted**,
  along with their JSON overrides and template assignments. *Custom* rooms and items
  created in the web app are never deleted by a sync.
- Items with unusable data (missing title, room, or times) are skipped and reported —
  the rest of the sync still goes through.
- What each sync changed is recorded in the event's [import history](import_history.md),
  including per-item changes and any rejected (badly formatted) entries.

A session whose end time is not after its start time also counts as unusable data. A session
that was already on the signs and now fails any of these checks is removed, and the **Data Loss
Warning** email reports it (see [Alert emails](alert_emails.md)).

On the night the clocks go forward, a time inside the skipped period is moved forward by the
length of the clock change (usually one hour) in the event's time zone. With a one-hour change
at 02:00, a session sent as 02:45–03:15 on that night would therefore start at 03:45, after its
end, and is rejected. The **Bad Data** message and **Data Loss Warning** email quote the
clock time the source sent (02:45) and explain that it does not exist that night and is read
as 03:45. See [Bad data](import_history.md#bad-data) for how the Raw Payload records those times.

Rooms are matched between syncs by the event's room identity mode; what a renamed or moved
room does to sign URLs is explained in [Room identity and renames](room_identity.md).

### Item titles and overrides

The API owns an imported item's original title. Each sync keeps the item title column and
the raw JSON `title` aligned with the latest source value. If you edit `title` in the item's
JSON override editor, that override becomes the title shown in item lists, timelines, and
signs; the source title continues updating underneath. **Reset JSON to Original** removes
the override and immediately restores the latest source title everywhere.

Hand-added items follow the custom-item rule even inside an API event: their title is changed
with **Change Item Title**, and their editable JSON does not contain a root `title` property.

The same field-by-field rule protects every other value you override: see
[Editing scheduled item JSON](../events/editing_item_json.md). Which fields you keep and
which items you skip is controlled with [item filters](item_filters.md) and
[field rules](field_rules.md).

## Manual sync

The sync button on the event page (*Trigger Manual API Import*) runs an import
immediately. It requires the API to be enabled, and it also works while polling is
suspended — useful to test whether a problem is fixed without waiting out a suspension.
Cvent rate-limit waiting periods still apply to manual sync.
If a sync is already running you'll be asked to wait for it to finish.

## API health

The health card on the event page shows the current status, when it last changed, the
consecutive failure count, the last error, and (when suspended) the time polling resumes.

| Status | Meaning | What happens next |
|---|---|---|
| **PENDING** | No sync has completed yet | Wait for the first poll or trigger a manual sync |
| **HEALTHY** | Last sync succeeded | Normal polling continues |
| **UNSTABLE** | 1–2 consecutive failures (for example the source is temporarily down) | Retries on the normal schedule; recovers automatically |
| **SUSPENDED** | Repeated failures, or a Cvent rate-limit waiting period | Polling pauses until *Suspended Until*, then retries automatically. Ordinary repeated failures use a growing back-off of 10 minutes to 1 hour. A Cvent waiting period follows the rules on the [Cvent](cvent.md) page. |
| **FAILED** | A permanent error (bad credentials, wrong URL, endpoint gone, or a rate limit from another integration) | **Polling is disabled.** Fix the cause, then re-enable the API toggle in Event Settings |
| **FAILED** with *Last Error* starting **"Sync refused"** | The last sync was stopped before changing anything because the Data Filtering rules would have removed every imported item | **Polling continues.** Correct or remove the rule; the next sync recovers by itself (see [Item filters](item_filters.md#a-rule-that-would-remove-everything)) |

One successful sync resets any failure state back to HEALTHY. A permanent FAILED requires
a human: the system disables the API deliberately so it doesn't hammer an endpoint that
rejects it, and it stays off until someone turns it back on. A refused sync also needs a
human to look at the rule, but the API is not switched off — check *Last Error* to tell
the two apart.

A failure that repeats with the same error is recorded once in the import history rather
than once per poll, so the history stays readable while a source is down.

## While an import runs

A scheduled poll, a manual sync and an Excel import all take the event's import lock, one
at a time. While one of them runs, any change to the event's rooms and scheduled items —
editing a time, a JSON override, a template assignment, a room setting — is refused with
**An import is currently running for this event. Changes to rooms and scheduled items are
temporarily blocked. Try again when the import is finished.** Nothing is lost: wait for the
sync to finish (the health card and the import history show when it did) and save again.
Reads are never blocked, so signs and the event pages keep working during a sync.

If the server running an import stops mid-way, its lock expires on its own after a short
lease; you do not need to do anything.

## Related

- [Data integrations](index.md) — the sources and how each one is connected
- [API event settings](event_settings.md) — every field in the API section of Event Settings
- [Alert emails](alert_emails.md) — what each email means and when it is sent
- [Import history](import_history.md) — reviewing what a sync changed
- [Room identity and renames](room_identity.md) — how rooms survive syncs
