# Fetch a complete event via the Audiobly API

This guide walks an integrator through **reading an entire event back out over the API** — details, programme, roster, sponsors, attendees, keyterms, transcripts, analysis and insights, content assets, reports, photos and media — with nothing done in the dashboard. Every step is callable with an **API key**. It's the read-side companion to *Create a complete event via the API*.

- **Base URL (production):** `https://api.audiobly.com`
- **API reference:** dashboard → **API Docs** (signed-in users) · machine-readable spec at `GET /v1/openapi.json` (authenticated)
- **All paths are under `/v1`.**

---

## Authentication & conventions

Send your API key (`sk_live_…`, from **Organisation → API Keys**) as a bearer token on every request:

```
Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxx
```

- Everything is **scoped to your organisation** automatically; you can only read your own data. An event or session from another organisation answers `404`.
- **Scoped keys:** a key created with `scopes` can only call what those permissions allow — most reads need `read`; transcripts, reports and assets need `asset_view`. Outside its scopes a key gets `403 FORBIDDEN`.
- **Pagination:** list endpoints take `?limit=` (default 50, max 200) and `?offset=` (default 0) and return `{"data":[…],"pagination":{"limit","offset","total"}}`.
- **Errors:** `{"error":{"code","message","request_id"}}` with an `X-Request-ID` header.
- Throughout, `EVENT_ID` / `SESSION_ID` are the UUIDs returned when the event was created. In the API, each talk on the programme is a **session**.

### Plan-gated sections

API keys come with the **Enterprise** plan, which includes every module: analysis, audience, demand and leads, voice, influence and network, the event intelligence rollup, branded and stored reports, the cross-event company profile and ticketing all answer for any key. An organisation not on Enterprise gets `403 PLAN_REQUIRED` on every API call. See [Rate limits and plans](/developers/api/rate-limits.md).

---

## Step 1 — Event details

```bash
curl -s https://api.audiobly.com/v1/events/$EVENT_ID -H "Authorization: Bearer $KEY"
```

Returns the full event — `status`, dates, `venue`, `city`, `country`, `theme`, `timezone`, `expected_attendees`, `languages`, `keyterms`, `external_reference` (your own ID, if you set one), brand and AI configuration, review flags and `org_unit_id`.

| Also available | Endpoint |
|---|---|
| List every event | `GET /v1/events` (paginated) |
| Lifecycle timeline / progress | `GET /v1/events/{EVENT_ID}/timeline` |
| Resolved configuration (value + where it came from) | `GET /v1/events/{EVENT_ID}/configuration` |
| PII redaction log | `GET /v1/events/{EVENT_ID}/pii-log` |

### Listing your events

```bash
curl -s "https://api.audiobly.com/v1/events?limit=50" -H "Authorization: Bearer $KEY"
```

Each event in `data` carries the same fields as Step 1, plus `brand_name`: the name of the top-level brand the event sits under, worked out from `org_unit_id` (an event under a product or sub-product gives that product's brand). `brand_name` is `null` for an event at the Customer level, and is only filled in this list: `GET /v1/events/{EVENT_ID}` always returns it as `null`. Any role that can list events sees it.

```json
{
  "data": [
    {
      "id": "6f1c…",
      "title": "GLP-1 & Metabolic Health Congress",
      "org_unit_id": "cffb…",
      "brand_name": "Northgate Food",
      "status": "DELIVERED",
      "starts_at": "2026-09-17T09:00:00Z",
      "ends_at": "2026-09-17T17:00:00Z"
    }
  ],
  "pagination": {"limit": 50, "offset": 0, "total": 1}
}
```

(Fields shortened.) Filters: `status`, `q` (text in the title), `date_from`, `date_to`; `include_counts=true` adds session and transcript counts.

## Step 2 — Programme (sessions)

```bash
curl -s https://api.audiobly.com/v1/events/$EVENT_ID/sessions -H "Authorization: Bearer $KEY"
```

Each session's title, schedule, `status`, `duration`, `has_audio`, `language`, `track_id`, `location_id` and its speakers. Fetch one session with `GET /v1/events/{EVENT_ID}/sessions/{SESSION_ID}`. Tracks and rooms: `GET /v1/events/{EVENT_ID}/tracks`, `GET /v1/events/{EVENT_ID}/locations`.

## Step 3 — Speakers

```bash
curl -s https://api.audiobly.com/v1/events/$EVENT_ID/speakers -H "Authorization: Bearer $KEY"
```

Name, honorific, job title, company, country, bio, headshot, social links, `status`, `tags`, `is_draft`, linked company profile, and the sessions each speaks in. A company's profile as seen at this event (summary, industry, products, delegate seniority mix, themes discussed): `GET /v1/events/{EVENT_ID}/companies/{COMPANY_ID}`.

## Step 4 — Sponsors

```bash
curl -s https://api.audiobly.com/v1/events/$EVENT_ID/sponsors -H "Authorization: Bearer $KEY"
```

Tier, website, logo, products/services/technologies, summary, industry, `enrichment_status`.

| Also available | Endpoint |
|---|---|
| Files on a sponsor's profile (label, `file_url`, type, size, order) | `GET /v1/events/{EVENT_ID}/sponsors/{SPONSOR_ID}/attachments` |
| Sponsor mentions in transcripts (per-sponsor totals + per-session counts) | `GET /v1/events/{EVENT_ID}/sponsor-mentions` |
| Share of voice — per sponsor and per company: `mentions`, `share`, the sessions they were named in and the concepts named alongside them | `GET /v1/events/{EVENT_ID}/share-of-voice` (optional `?concept_uri=` to count only mentions in passages tagged with that concept) |

Share of voice reads the event's tagged transcripts: until its sessions have been tagged, `tagged` is `false` and the lists are empty.

## Step 5 — Attendees

```bash
curl -s https://api.audiobly.com/v1/events/$EVENT_ID/attendees -H "Authorization: Bearer $KEY"
```

Paginated, sorted by name. Every speaker is an attendee too, so the list holds bookings and speakers. `?type=` narrows it: `booking`, `speaker` (a speaker without a booking) or `speaker_and_booking`. Each attendee carries `name`, `first_name`, `last_name`, `email`, `honorific`, `job_title`, `company`, `company_id`, `country`, `role` (delegate type), `seniority`, `function`, `needs_review`, `marketing_consent`, `bio`, `headshot_url`, `social_links`, plus registration data:

| Field | Meaning |
|---|---|
| `source` | how they joined: `manual`, `import`, `paid`, `comp` or `ticket_tailor` |
| `registration_status` | `pending`, `confirmed` or `cancelled` |
| `answers` | checkout/registration-form answers, verbatim |
| `external_ids` | the ticketing platform's IDs for this booking |
| `amount_paid`, `list_price`, `currency`, `discount_code`, `invite_code` | payment detail (amounts in minor units, e.g. cents) |
| `attendee_type` | `booking` (a delegate's booking), `speaker` (made from the speaker profile, no booking) or `speaker_and_booking` (a speaker who also booked) |
| `speaker_id`, `speaker` | set when this booking belongs to a speaker at the same event |
| `networking` | the delegate's event-site account: `on` (confirmed, in the directory), `off` (confirmed, not in the directory) or `no_account` (no confirmed account yet) |
| `masterclasses` | the sessions with places (masterclasses and roundtables) this booking holds a place at, in time order: `[{session_id, title, starts_at}]` |

**CSV exports** (one call, a ready-to-open spreadsheet):

| Export | Endpoint |
|---|---|
| Attendees | `GET /v1/events/{EVENT_ID}/exports/attendees.csv` |
| Orders | `GET /v1/events/{EVENT_ID}/exports/orders.csv` |
| Sales | `GET /v1/events/{EVENT_ID}/exports/sales.csv` |

The attendees export has an `attendee_type` column with the same three values. These need the `prep_manage` permission.

## Step 6 — Keyterms & glossary

`GET /v1/events/{EVENT_ID}/keyterms` — the event's keyterms, explicit spelling `variants`, source URL, extraction candidates/status, and roster-derived terms. Organisation glossary: `GET /v1/glossary` (supports `?category=`, `?search=`, `?version=`).

## Step 7 — Transcripts

### Structured JSON

Transcripts come at two scopes; both accept `?version=` (omit for the latest) and include the full **utterances** array (speaker, start, end, text). The shape is described by the JSON Schema at `GET /v1/schemas/transcript-v1.json`.

```bash
# Event-level (single-stream events):
curl -s "https://api.audiobly.com/v1/events/$EVENT_ID/transcript" -H "Authorization: Bearer $KEY"
# Per session:
curl -s "https://api.audiobly.com/v1/events/$EVENT_ID/sessions/$SESSION_ID/transcript" -H "Authorization: Bearer $KEY"
```

Response: `version`, `full_text`, `duration`, `utterances[]`.

Utterances carry diarized labels such as `Speaker 0`. To turn them into names, read the speaker mappings. Any key that can read the transcript can read its names:

```bash
# Event-level transcript:
curl -s "https://api.audiobly.com/v1/events/$EVENT_ID/speaker-mappings" -H "Authorization: Bearer $KEY"
# Per session:
curl -s "https://api.audiobly.com/v1/events/$EVENT_ID/sessions/$SESSION_ID/speaker-mappings" -H "Authorization: Bearer $KEY"
# → [ { "diarized_label": "Speaker 0", "speaker_id": "…", "speaker_name": "Dr Ada Lovelace", "speaker_title": "Chief Scientist" },
#     { "diarized_label": "Speaker 1", "speaker_id": null, "speaker_name": "Audience Question", "speaker_title": null } ]
```

`speaker_id` is `null` when the label is assigned to a plain text label instead of a roster speaker. The event-level call returns `[]` when the event has no event-level transcript yet.

### Files

| What | Endpoint |
|---|---|
| Every session with its editorial status (`raw`, `reviewed`, `published`, `none`) | `GET /v1/events/{EVENT_ID}/transcripts` |
| The whole event in one document | `GET /v1/events/{EVENT_ID}/transcripts/download?format=pdf` |
| Selected sessions as a ZIP | `GET /v1/events/{EVENT_ID}/transcripts/zip?session_ids=…` |
| One session as a document | `GET /v1/events/{EVENT_ID}/transcripts/{SESSION_ID}/download` |
| One session in any format, optionally machine-translated | `GET /v1/events/{EVENT_ID}/sessions/{SESSION_ID}/transcript/download?format=srt&lang=fr` |

The session download takes `format` = `txt`, `srt`, `vtt`, `json`, `docx` or `pdf`, `timestamps` (default `true`) and an optional `lang` — a language code to receive a machine translation of the transcript into that language, clearly labelled as unreviewed (`503 TRANSLATION_FAILED` if translation is briefly unavailable — retry). Roster names are applied in every format.

Full details, including how editorial status is shown inside each file: *Transcripts & photos*.

## Step 8 — Analysis & insights

Every endpoint in this step is included with Enterprise.

| Insight | Endpoint |
|---|---|
| Analysis rows (topics, entities, themes, sentiment, questions/opportunities/risks) | `GET /v1/events/{EVENT_ID}/analysis` — add `?current=true` for the current event view plus each session's newest analysis (without it, the list is the paged history, oldest first) |
| Analysis for one scope | `GET /v1/events/{EVENT_ID}/analysis/{scope}?session_id=` — `scope` = `event` or `session` |
| Analysis run status / progress | `GET /v1/events/{EVENT_ID}/analysis/status` |
| Event intelligence rollup | `GET /v1/events/{EVENT_ID}/intelligence` |
| Audience profile / room resonance | `GET /v1/events/{EVENT_ID}/audience` · `GET /v1/events/{EVENT_ID}/audience/resonance` |
| Demand / leads | `GET /v1/events/{EVENT_ID}/demand` · `GET /v1/events/{EVENT_ID}/leads` |
| Voice / influence / network | `GET /v1/events/{EVENT_ID}/voice` · `GET /v1/events/{EVENT_ID}/influence` · `GET /v1/events/{EVENT_ID}/network` |

```bash
curl -s "https://api.audiobly.com/v1/events/$EVENT_ID/analysis?current=true" -H "Authorization: Bearer $KEY"
```

Sentiment is returned overall, per named speaker, and as a trajectory. Audience and resonance figures are k-anonymised; lead contacts are consent-gated. Field-by-field meaning: *Audience Intelligence API*.

## Step 9 — Content assets

```bash
API=https://api.audiobly.com/v1
# List generated assets (executive summary, blog, social quotes):
curl -s "$API/events/$EVENT_ID/assets" -H "Authorization: Bearer $KEY"
# Get a time-limited download URL for one (GET /v1/assets/{asset_id}/download):
curl -s "$API/assets/$ASSET_ID/download" -H "Authorization: Bearer $KEY"
# → { "url": "<presigned>", "expires_in": ... }
```

Per-session assets: `GET /v1/events/{EVENT_ID}/sessions/{SESSION_ID}/assets`. Catalogue of asset types: `GET /v1/asset-types`.

## Step 10 — Reports

Every report endpoint is included with Enterprise. There are two kinds.

### 10a. Branded reports rendered on request

`POST` the report endpoint; it renders the branded PDF from the event's current data and returns a download URL. Each call renders a new file, so call it again after the data changes. Every call counts as a generation in your usage.

```bash
curl -sX POST "https://api.audiobly.com/v1/events/$EVENT_ID/reports/intelligence?orientation=portrait&audience=executive" \
  -H "Authorization: Bearer $KEY"
# → { "orientation":"portrait", "audience":"executive",
#     "url":"/v1/media/branding/…/intelligence-executive-portrait-….pdf?t=1793012345.Xk3…" }
```

`orientation` is `portrait` (default) or `landscape`. Each report has its own `audience` values; a value not in the list falls back to the report's default.

**Report language.** A report is written in the event's output language unless you add `language` to the request. This works on the report endpoints whose path contains `/reports` — the table above (except `report:generate`) and the per-session stored reports in 10b:

| `language` | The report is written in |
|---|---|
| *(not sent)* | the event's output language |
| `en`, `nl`, `fr`, `es`, `de`, `it` or `pt` | that language, for this one request |
| `customer` | your organisation's default language: the AI language set on the event's brand or product, or on the organisation, otherwise the organisation's first supported language; English when none is set. The language spoken at the event is not used. The dashboard's Insights pages ask for reports this way, because they are read by your own team rather than by the people at the event. |

Any other value is ignored and the report uses the event's output language.

```bash
curl -sX POST "https://api.audiobly.com/v1/events/$EVENT_ID/reports/conference-debrief?audience=executive&language=customer" \
  -H "Authorization: Bearer $KEY"
```

| Report | Endpoint | `audience` values (default first) |
|---|---|---|
| Event Intelligence Report | `POST /v1/events/{EVENT_ID}/reports/intelligence` | `executive`, `practitioner`, `editorial` |
| Theme Deep Dive (needs `?theme=`) | `POST /v1/events/{EVENT_ID}/reports/theme` | `research`, `executive`, `practitioner`, `editorial` |
| Theme & Gap Analysis | `POST /v1/events/{EVENT_ID}/reports/theme-gap` | `programming`, `editorial`, `executive`, `research` |
| Social Quote Cards | `POST /v1/events/{EVENT_ID}/reports/social-quotes` | `marketing`, `social`, `editorial`, `speakers` |
| Category Strength | `POST /v1/events/{EVENT_ID}/reports/category-strength` | `commercial`, `portfolio`, `marketing`, `executive` |
| Conference Debrief | `POST /v1/events/{EVENT_ID}/reports/conference-debrief` | `executive`, `director`, `editorial`, `commercial`, `operations` |
| Sponsor Value (one sponsor) | `POST /v1/events/{EVENT_ID}/sponsors/{SPONSOR_ID}/reports/value` | `marketing`, `commercial`, `organiser` |
| Session Summary (one session) | `POST /v1/events/{EVENT_ID}/sessions/{SESSION_ID}/reports/session-summary` | — (`orientation` only) |
| Session Pull Quotes | `POST /v1/events/{EVENT_ID}/sessions/{SESSION_ID}/reports/pull-quotes` | — |
| Speaker Pull Quotes (across the event) | `POST /v1/events/{EVENT_ID}/speakers/{SPEAKER_ID}/reports/pull-quotes` | — |
| Event / Insights overview | `POST /v1/events/{EVENT_ID}/report:generate?kind=event` (or `kind=insight`) | — returns both orientations: `{"data":[{"orientation","url"}, …]}` |

### 10b. Stored report suites

Sessions, days and whole events also have a **stored** set of reports (the dashboard's Content tab). They are built once, kept, and can be listed and re-downloaded at any time — no re-rendering.

**Per session:**

| What | Endpoint |
|---|---|
| Every report kind with its status and download links | `GET /v1/events/{EVENT_ID}/sessions/{SESSION_ID}/reports` |
| Build one report | `POST /v1/events/{EVENT_ID}/sessions/{SESSION_ID}/reports/{kind}/build` (202) |
| Rebuild the reports already built | `POST /v1/events/{EVENT_ID}/sessions/{SESSION_ID}/reports/regenerate` (202) |
| All ready reports as one ZIP | `GET /v1/events/{EVENT_ID}/sessions/{SESSION_ID}/reports/download-all` |
| Plain-text version (for kinds that have one) | `GET /v1/events/{EVENT_ID}/sessions/{SESSION_ID}/reports/{kind}/text` |
| The report as Word or text | `GET /v1/events/{EVENT_ID}/sessions/{SESSION_ID}/reports/{kind}/export?format=docx` (or `txt`) |
| Which report kinds this event lists | `GET /v1/events/{EVENT_ID}/content-reports/kinds?scope=session` (or `day`, `event`) |
| Choose the kinds this event lists (needs permission to manage assets) | `PUT /v1/events/{EVENT_ID}/content-reports/kinds?scope=session` with `{"kinds": ["exec_summary", "strategic"]}` |

Each report in the list carries `shown`: whether the event lists it on its Content tab. There is one list per event and scope (`session`, `day`, `event`), the same for everyone on the event, so it is shared by the people and API keys that use it. Until someone changes it, the session list has four (`exec_summary`, `takeaways`, `social_highlights`, `session_report`) and the rest form a library to add from; the day and event lists have both reports. `GET` returns `kinds`, `default` and `is_default`. `PUT` answers 422 `UNKNOWN_KIND` for a kind that does not exist at that scope and 422 `BAD_SCOPE` for another scope; choosing exactly the default clears the stored choice. Removing a kind never deletes a report already built for it: the list still returns it, with `shown: false` and its download links. `GET`/`PUT /content-reports/session-kinds` still work and mean `scope=session`.

**Per day / whole event:** `GET /v1/events/{EVENT_ID}/content-reports?scope=event` (or `scope=day&day=2026-09-05`); build with `POST /v1/events/{EVENT_ID}/content-reports/generate?scope=…` (builds only the reports on the list; 409 `NOTHING_LISTED` when the list is empty); list the event's days with `GET /v1/events/{EVENT_ID}/content-reports/days`; text and Word/text export with `GET /v1/events/{EVENT_ID}/content-reports/{kind}/text` and `GET /v1/events/{EVENT_ID}/content-reports/{kind}/export` (same `scope`/`day` parameters).

Each listed report has `kind`, `label`, `blurb`, `format` (`pdf` or `docx`), `status` (`not_built`, `pending`, `generating`, `ready`, `failed`), `transcript_version`, `approved_at`, and — when ready — `download_url` (and `text_url` for kinds with a text version). Reports are built on request: a kind stays `not_built` until someone builds it. One exception: on an event with session snapshots on, publishing a session builds its final Session Report and marks it reviewed (`approved_at` is set).

## Step 11 — Downloading report and media files

Report URLs are relative `/v1/media/{path}` paths. Resolve them against the API base and `GET` them — no `Authorization` header is needed, because the URL itself carries the access token:

```bash
curl -sL "https://api.audiobly.com/v1/media/branding/…/intelligence-executive-portrait-….pdf?t=1793012345.Xk3…" \
  -o intelligence-report.pdf
```

- The `?t=` token is bound to that one file and to your organisation, and is **valid for 24 hours**. After that the URL returns `404`. Don't store report URLs long-term — call the report endpoint (10a) or the list endpoint (10b) again for a fresh link.
- A wrong, expired or missing token gets the same `404` as a file that doesn't exist.
- Brand assets such as logos and headshots are public and their `/v1/media/{path}` URLs carry no token.

**Audio and video:**

| What | Endpoint |
|---|---|
| Event-level audio (time-limited link, 2 h) | `GET /v1/events/{EVENT_ID}/audio-url` → `{ "url", "expires_in" }` |
| Session media as stored | `GET /v1/events/{EVENT_ID}/sessions/{SESSION_ID}/media-url` |
| Session media as a file worth keeping (MP3 for audio, MP4 for video) | `GET /v1/events/{EVENT_ID}/sessions/{SESSION_ID}/download` |

The session download converts the recording once, in the background. The first call returns `{"status": "preparing", "format", "filename"}`; call again shortly and you get `{"status": "ready", "url", "expires_in", "filename"}`. A session with no media returns `409 NO_AUDIO`.

## Step 12 — Photos

`GET /v1/events/{EVENT_ID}/photos` lists the event's photos (web and thumbnail URLs, size, `taken_at`, `published`, tagged people, session). Add `?public=true` for a website feed: only published photos, and only the people tags cleared for public display. See *Transcripts & photos*.

## Step 13 — Full export bundle (optional)

For a single archive of the event's data (right-to-access / data subject request export):

```bash
API=https://api.audiobly.com/v1
curl -sX POST "$API/events/$EVENT_ID/export" -H "Authorization: Bearer $KEY"   # → 202 { "export_id": "..." }
curl -s "$API/exports/$EXPORT_ID" -H "Authorization: Bearer $KEY"              # poll GET /v1/exports/{export_id} → { "status", "download_url" }
```

When the export is ready, `download_url` is a time-limited link to a ZIP.

---

## End-to-end example

```bash
KEY="sk_live_xxx"; API="https://api.audiobly.com/v1"
G(){ curl -s "$API$1" -H "Authorization: Bearer $KEY"; }

EVENT_ID="..."   # the event to pull

G /events/$EVENT_ID                         | jq '{title,status,city,expected_attendees}'
G /events/$EVENT_ID/sessions                | jq '.data[] | {title,status,has_audio}'
G /events/$EVENT_ID/speakers                | jq '.data | length'
G /events/$EVENT_ID/sponsors                | jq '.data[] | {name,tier}'
G /events/$EVENT_ID/attendees               | jq '.pagination.total'
G /events/$EVENT_ID/keyterms                | jq '.keyterms'
G /events/$EVENT_ID/transcripts             | jq '.counts'
G "/events/$EVENT_ID/analysis?current=true" | jq '.data[] | {scope, topics: (.topics|length)}'
G /events/$EVENT_ID/intelligence            | jq '.has_analysis'
G /events/$EVENT_ID/audience                | jq '.total'
G /events/$EVENT_ID/assets                  | jq '.data[] | {asset_type,status}'

# the whole event's transcript as one PDF
curl -s "$API/events/$EVENT_ID/transcripts/download?format=pdf" -H "Authorization: Bearer $KEY" -o transcript.pdf

# a branded report, then download it straight away (the link is valid for 24 h)
URL=$(curl -sX POST "$API/events/$EVENT_ID/reports/intelligence?orientation=portrait&audience=executive" \
  -H "Authorization: Bearer $KEY" | jq -r .url)
curl -sL "https://api.audiobly.com$URL" -o intelligence-report.pdf
```

That's a complete event read back — details, programme, roster, sponsors, attendees, keyterms, transcripts, analysis, insights, assets and a branded report — entirely through the API.
