---
description: What an API event connected to a SUBS feed imports, which entries it skips, how deletions work and how rooms are matched by name.
---

# SUBS

SUBS is the session database used by some conference producers. An API event connected to a
SUBS feed is created with **Add Event → API → Subs (BlackHat/GDC)**; rooms are matched by
**title** (see [Room identity and renames](room_identity.md)). This page covers what to
enter, what the SUBS import accepts, and how it treats deletions, times and room names.
Polling, API health and alert emails are the same for every integration — see
[Syncing and API health](api_events.md).

## Event settings

| Field | Value |
| --- | --- |
| **API URL** | The feed URL as the SUBS operator provides it; it is called as is and must return the sessions as a `sessions` array |
| **API Username** / **API Password** | The feed's HTTP basic-authentication credentials, if the feed is protected; leave both empty for an open feed |
| **Additional API Headers** | Sent with every request, if the feed needs any |

Each session's `session_id` identifies it across syncs.

## What is imported

Every sync fetches the feed and replaces the locally saved SUBS data with it. Only valid
entries are imported or updated. A valid entry is a session (typically a presentation) with
these values present and well formed:

- `title`
- `time_start` in `YYYY-MM-DD HH:MM:SS` format, with a valid date
- `time_end` in `YYYY-MM-DD HH:MM:SS` format, with a valid date, after `time_start`
- `room`

The feed must return the sessions as a `sessions` array; each session is stored as it
arrives, so any other fields in the feed are available to templates as they are.

## Deletions

A session that exists in Onlit but is missing from a later sync is treated as deleted and
removed. If it appears again in a later sync, it is added back.

## Display times and render times

Every sync updates the render times (`time_start`, `time_end`) of each session. Whether the
Display Time moves with them is decided separately for its start and its end:

- a display boundary that **follows** the SUBS time moves with it;
- a display boundary an administrator **fixed** (in the item editor, with Collapse Gaps or with
  the bulk boundary actions) keeps its value until **Reset to Render**;
- an intentional JSON override of `time_start` / `time_end` wins over the SUBS value in what the
  sign prints, but never moves the Display Time.

Collapse Gaps is a one-time action: the starts it moves stay fixed, and a later sync that
reopens a gap or creates an overlap next to one is reported instead of collapsed again. The full
rules, with examples, are in [Display time, render time and room offset](../events/display_time_ownership.md).

## Room names

SUBS feeds carry no room code, so a SUBS event uses the room name as the room's identity
(**Title** mode). If a session's room name changes in the feed, Onlit resolves or creates the
room under the new name and moves that session to it. The same happens even when every
session moves from one old name to one new name: the importer does not infer a rename,
because the feed does not prove that the two names are the same physical room.

The result is a new room, with a new ID and sign URL, while the old room remains. Only SUBS
sessions move. Sessions added by hand stay in the old room, which also keeps its display
title, offset, dimensions, room-level content and gap templates, disabled state and sign URL.
Item-specific templates stay with their item. If the change was meant as a rename, recreate
any hand-added sessions in the new room, copy the room settings you need, and point the
screen at the new URL. There is no move action for hand-added sessions.

The general rules for both identity modes, the rename email and undoing a rename are in
[Room identity and renames](room_identity.md).

## Related

- [Syncing and API health](api_events.md)
- [API event settings](event_settings.md)
- [Item filters](item_filters.md) and [Field rules](field_rules.md)
- [Troubleshooting integrations](troubleshooting.md)
- [Display time, render time and room offset](../events/display_time_ownership.md)
