# Live page

Captions, translation, live Q&A, polls and live engagement.

Base URL: https://api.audiobly.com

### PUT /v1/events/{event_id}/live-translation

Put live translation

Update the event's live-page settings; omitted fields are unchanged. The live page runs
with any of live translation, Q&A or Polls: returns 403 `NOT_ENTITLED` when the account has
none of them, and also when it lacks live translation and the request changes `languages`,
`audio` or `allow_other_languages` (without live translation the page offers the spoken
language only). 422 for an invalid attendee link, webhook address, theme value
(`INVALID_NAME`, `INVALID_LOGO_SIZE`, `INVALID_LOGO`, `INVALID_COLOUR`), browser tab and
sharing value (`INVALID_TAB_TITLE`, `INVALID_DESCRIPTION`, `INVALID_ICON`,
`INVALID_SHARE_IMAGE`) or too many languages, and 409 `SLUG_TAKEN` if the link is in use.

Scope: event_edit

Parameters:

- `event_id` (path, string (uuid), required)

Body (JSON):

- `languages` (array of string): The language codes attendees can pick, up to 40.
- `enabled` (boolean): Whether this is switched on.
- `allow_other_languages` (boolean): Whether attendees may pick any language, not only the listed ones.
- `audio` (boolean): Whether spoken translation is offered.
- `slug` (string): The address of the live page, for example my-event; up to 80 characters.
- `access` (string): open, qr (needs the QR link) or strict (needs the passcode).
- `passcode` (string): A 4 to 8 digit passcode attendees type to get in.
- `new_passcode` (boolean): Set to true to generate a new passcode.
- `passcode_daily` (boolean): Whether the passcode changes every day of the event.
- `passcode_on_screen` (boolean): Whether the passcode is shown on the room screen.
- `rooms` (array of RoomUpdate): Access settings for individual rooms, each with a room id.
- `off_sessions` (array of string): The ids of sessions switched off for the live page.
- `branding` (boolean): Whether the live page uses this event's own logo and colours.
- `theme` (LiveTheme): The live page's own logo and colours.
- `sponsor_id` (string): The sponsor shown on the live page.
- `sponsor_logo` (string): Logo for the sponsor slot on this event; an empty value goes back to the sponsor's own.
- `sponsor_link` (string): Link for the sponsor slot on this event; an empty value goes back to the sponsor's own.
- `blocked_terms` (array of string): Words that are removed or masked in live captions.
- `webhook_url` (string): Address that receives notifications from the live page; an empty value removes it.
- `new_webhook_secret` (boolean): Set to true to generate a new webhook signing secret.
- `snapshots` (boolean): Whether a summary and key takeaways are written automatically after each session.
- `share` (LiveShare): The browser tab title, link description, icon and share image for the live page.
- `after_event` (LiveAfterEventUpdate): What attendees see once the event is over.

Responses:

- 200: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.
