---
description: How an API event matches rooms between syncs in Code and Title identity mode, what an upstream rename does to sign URLs, the rename email, and how to rename a room yourself.
---

# Room identity and renames

Every sync has to decide whether an incoming session belongs to a room Onlit already
has or to a new one. The rule is the event's **room identity mode**, fixed when the event
is created, and it decides what happens to sign URLs when the source renames a room.
This page explains both modes, the email you get when a sync moves a whole room, and how
to rename a room in Onlit without losing the link to the source.

## The two modes

- For the built-in integrations the mode is set per source: **Cvent** and **RainFocus**
  match rooms by code, **Preseria**, **Swapcard** and **SUBS** by title (see the
  [overview](index.md#sources)).
- For a **Universal API** event you choose the **Event Room Identity Mode** yourself when
  you create the event: **Code** if the source provides a stable room identifier, **Title**
  if room names are all it has.

**Code mode** — the room code is the identity. Room titles may change freely between
syncs: if the same code arrives with a different item `room` value, it is a source rename,
the existing room/title is updated in place, and any Room Display Title you set remains.
Two different rooms may even share a title (you'll get a warning email; set a *Room Display
Title* to disambiguate what the signs show). Sign URLs stay stable.

**Title mode** — the title *is* the identity. When an item's incoming room value changes,
the system resolves or creates the room under that new title and moves the item there. It
deliberately applies the same rule even if every item moves from one old title to one new
title: that pattern might be a rename, but it does not prove one. The result is a **new room
— with a new sign URL** — while the old room remains (rooms are never deleted by syncs, so
existing sign URLs never break; an emptied room simply shows its gap template). After an
upstream rename, expect to point the affected physical screens at the new room's URL.

Only sessions supplied by the API move to the new room. Sessions you added by hand stay
assigned to the old room, along with that room's display title, offset, dimensions,
room-level content and gap templates, disabled state, and sign URL. An item-specific
template stays with its item: it follows a moved API session, while a hand-added session's
template stays behind. The new room starts with default room settings. If the upstream
change was intended as a rename, recreate any hand-added sessions you still need in the new
room, copy the required room settings, and then update the physical screen to the new URL.
The application does not currently provide a move action for hand-added sessions.

## The "Possible room rename or complete API-room move" email

When a sync moves *every* API session that is still in a room to one other room, event
staff receive an action-required email about it. The target can be a room the sync just
created (the section is then part of the *New Rooms Detected* email) or a room that
already existed. The email names both rooms with their room IDs, sign URLs and admin page
paths, and lists what you may need to redo by hand:

- hand-added sessions left in the old room;
- room settings the sign uses that differ between the two rooms: display title, content
  template, gap template, room offset, sign dimensions and disabled state;
- virtual rooms whose selected source rooms still include the old room.

It is only a warning. The sync does not move sessions, copy settings, change virtual-room
sources or remove the old room, because the same movement can also be a genuine schedule
change. You get the email once, for the sync where the move happened, and it stays in the
event's **Import History**, in that sync's alerts under **Room Identity Conflicts**. The
next sync never sends a "resolved" message for it. If a later sync moves other sessions
between the same two rooms, for example when two rooms swap their sessions and then swap
them back, that is a new move and you get a new email. The email is not sent when only
some sessions move, when sessions move to several rooms, or when the source replaces
sessions with new ones instead of moving them.

## Renaming a room yourself

Editing the title of an imported room sets its *Room Display Title*: your signs show your
name, while the room keeps the source's own title underneath (the room list marks it, and
hovering shows "Actual title: …"). That indirection is what makes your rename stick — the
source title is refreshed on every sync, so a name written over it would be lost at the
next poll, and in Title mode it would also break the link between the room and its
incoming sessions. Rooms **you** created — custom rooms, marked `Yes` in the room list's
**Custom Room** column — have no display title; editing those changes their title directly.

Either way the rename reaches everything the sign shows: the header and every template
field that displays the room name. Item JSON cannot override that label. The JSON editor
shows the resolved current label for both item types. API `room` also remains visible
separately as a read-only source value for identity/comparison; custom item JSON omits it
([Editing scheduled item JSON](../events/editing_item_json.md#room-is-system-managed)).

### Undoing your rename

To go back to the source's name, edit the title and type the room's actual title (the one
in the "Actual title: …" tooltip) exactly. That removes the display title rather than
storing it, the renamed marker disappears, and the signs show the source's current name
straight away — no wait for the next sync. This matters in Code mode: while your name is
set, it is shown *instead of* the source's, so an upstream rename never reaches the signs.
You are alerted once, on the sync that renames it — not on every sync, because the room's
own title updates underneath even while the signs keep showing your name.

## Custom rooms next to imported rooms

Custom rooms only ever hold items you added yourself. If a custom room happens to share its
title with a room the source sends, the imported sessions do **not** land in your custom
room — a separate room is created for them. Whenever a custom room and an imported room
end up showing the **same name**, you get a Room Identity Conflicts alert; renaming either
of them clears it. The two are otherwise easy to tell apart in the room list: the
**Custom Room** column, and the `Count (API | Custom)` column, where a custom room always
shows `0` imported items.

## Related

- [Syncing and API health](api_events.md) — what a sync changes and the health states
- [Alert emails](alert_emails.md) — the New Rooms and Room Identity Conflicts emails
- [Sign URLs and the live dashboard](../signs/sign_links_dashboard.md) — why a new room means a new URL
- [Universal API](universal_api_integration.md) — the Room Code mapping that Code mode needs
