---
description: Every field in the API section of an event's settings — URL, polling interval, username and password, notification emails, additional headers, data filtering and JSON import rules — and which integrations use each one.
---

# API event settings

Every API event, whichever source it is connected to, is configured in the same place:
**Event Settings** on the event page, under **API Settings**. This page explains each
field once; the page for each source says what to put in it. Changes take effect on the
next sync; click **Save** at the bottom of the form, or the warning at the top reminds you.

## The fields

| Field | What it does |
| --- | --- |
| **API Enabled / Disabled** | Whether the event is polled at all. Onlit switches it off itself after a permanent error (see [API health](api_events.md#api-health)); switch it back on after you fix the cause. Turn it off for ended events that share an account with a live one. |
| **API URL** | The address the source is fetched from. Up to 255 characters, no spaces. What it must look like depends on the source — see its page. Swapcard ignores the value but still requires one. |
| **API Polling Interval** | Minutes between syncs; **5** when left blank, at most **1440** (a day). A shorter interval means faster updates on the signs and more requests to the source; Cvent quotas in particular reward a longer interval. |
| **API Username** / **API Password** | The credentials for the source. Set both or neither. For most sources these are a user name and password; for **Swapcard** the username is the Swapcard event ID and the password the API key; for **RainFocus**, **Cvent** and a **Universal API** profile with OAuth 2.0 they are the client ID and client secret; for a Universal API profile with API-key authentication the key goes in the password. The eye icon shows the stored password. |
| **Notification Email(s)** | Who receives the [alert emails](alert_emails.md). Separate several addresses with commas. |
| **Additional API Headers** | Extra HTTP headers sent with every request to the source, as key/value pairs — typically an authorization header the source requires. Up to 20; names must be valid header names and are stored lower-case. Sent by the Preseria, SUBS, RainFocus and Cvent integrations and by Universal API profiles with no, basic or OAuth 2.0 authentication; **not** sent by the Swapcard integration or by a Universal API profile with API-key authentication. |
| **Configure Data Integration** | Universal API events only: the dialog that describes the source's format. See [Universal API](universal_api_integration.md). |
| **Data Filtering** | Rules that decide which imported items are kept. See [Item filters](item_filters.md). |
| **JSON Import Rules** | Which fields of each item are stored. See [Field rules](field_rules.md). |

Each header row needs a name and a value, and each name can be used only once. Until
every row meets both rules, **Save** stays disabled; remove any row you do not need.

The event's **Time Zone** (in the general settings above) is the zone in which the
source's times are read when they carry no offset of their own. It can be changed only
while the event has no scheduled items.

## What cannot be changed afterwards

The **source** (the integration chosen in **Add Event**) and the **room identity mode**
are fixed when the event is created. To switch an event to another source, create a new
event. Why the mode matters is explained in [Room identity and renames](room_identity.md).

## Related

- [Data integrations](index.md) — the sources
- [Syncing and API health](api_events.md)
- [Alert emails](alert_emails.md)
