# Intelligence, content outputs, quotes and the delegate portal

Four parts of the API that were listed only in the reference until now:

1. the cross-event **Intelligence** endpoints (`/v1/intelligence/*`);
2. the **content outputs** a session, a day or the whole event can produce, by report kind;
3. the event's verified **quotes** (`GET /v1/events/{event_id}/quotes`);
4. the **delegate portal** (`/v1/portal/*`), a magic-link page for a delegate's tickets.

The sponsor portal is in the [sponsor analytics guide](/developers/guides/sponsor-analytics.md); webhooks have [their own guide](/developers/api/webhooks.md).

## 1. Intelligence across your events

The Intelligence module looks across all your events (your portfolio). It comes with the Enterprise plan, like every module, so it answers for any API key. All figures are computed from your stored data (registrations, tickets, check-ins, sponsors, speakers, analyses); only `ask` writes an answer with AI, and it is told to use only those figures.

Any API key or signed-in member of the organisation can call them. Every `GET` accepts a scope: `org_unit_id` (a brand or unit and everything under it) and `since` / `until` (dates on the event's day). Without them, the whole portfolio is used.

| Endpoint | Returns |
|---|---|
| `GET /v1/intelligence/portfolio` | Per-event benchmarks (percentile and quartile per dimension) and a Portfolio Health Score |
| `GET /v1/intelligence/companies?limit=` (default 50) | Your most valuable companies: events attended, ticket volume, check-in rate, lifetime value, lifecycle |
| `GET /v1/intelligence/attribution` | Registrations and revenue by marketing channel |
| `GET /v1/intelligence/opportunities` | Scored, prescriptive opportunities |
| `GET /v1/intelligence/patterns` | Cross-event patterns (spreads, rank alignments, leaders), each backed by the figures behind it |
| `GET /v1/intelligence/dna` | Every event's fingerprint (scale, attendance, commercial and channel traits) |
| `GET /v1/intelligence/dna/{event_id}` | One event's fingerprint and the most similar events (404 `NOT_FOUND` for an unknown event) |
| `GET /v1/intelligence/forecast` | Registration pace and an attendance forecast per event |
| `GET /v1/intelligence/sponsors` | Per sponsor (by name, across events): events sponsored, tiers, agreed and paid value, audience reach, consenting leads, renewal signal |
| `GET /v1/intelligence/speakers` | Per speaker: events, sessions, companies represented |
| `GET /v1/intelligence/churn` | Per company: churn risk and forward lifetime value, highest risk first |
| `GET /v1/intelligence/topics` | Topics across events: recurrence, events reached, mentions, salience |
| `POST /v1/intelligence/ask` | `{"question": "…"}` → `answer`, `evidence[]`, `drivers[]`, `recommendation`, `confidence` |

`sponsors` is the cross-event rollup. For one sponsor's performance at one event (reach, share of voice, mentions, audience), use `GET /v1/events/{event_id}/sponsors/{sponsor_id}/analytics`.

## 2. Content outputs by report kind

Besides the event-level branded reports (see the fetch guide), an event produces stored reports at three scopes. Each is a file (PDF unless stated) with a draft band until an editor signs it off.

| Kind | Scope | What it is | Built |
|---|---|---|---|
| `exec_summary` | session | Executive Summary, 4–8 pages | On request |
| `highlights` | session | Session Highlights, 1–2 page visual recap | On request |
| `takeaways` | session | Top 10 Key Takeaways, with the quotes behind each | On request |
| `strategic` | session | Strategic Insights | On request |
| `one_document` | session | If You Only Read One Document, 1–2 pages | On request |
| `session_report` | session | Session Report, an 8-page magazine-style write-up | On request |
| `live_takeaways` | session | Live Session Takeaways: three to five takeaways for the closing slide (landscape), with a plain-text version | On request; automatically, as soon as the transcript is ready, when the event's live page has session snapshots switched on |
| `social_highlights` | session | Social Media Highlights: five shareable moments with speaker credit and post copy, each quote checked against the transcript, with a plain-text version | On request |
| `editorial_pack` | day, event | Editorial Insight Pack (a Word document): newsworthy themes, contradictions and story angles, every quote attributed to speaker, session and time | On request |
| `wrap_up` | day, event | Premium Event Wrap-Up Report, at most five pages, for delegates | On request |

**Session scope.** `GET /v1/events/{event_id}/sessions/{session_id}/reports` lists every kind with its status and a fresh download link; `POST /v1/events/{event_id}/sessions/{session_id}/reports/{kind}/build` builds one; `GET /v1/events/{event_id}/sessions/{session_id}/reports/{kind}/text` returns the plain-text version of `live_takeaways` and `social_highlights`, ready to paste into a design template.

**Day and event scope** (`editorial_pack`, `wrap_up`):

| Task | Call |
|---|---|
| Days the event has sessions on | `GET /v1/events/{event_id}/content-reports/days` |
| Every kind for the scope, with status and download links | `GET /v1/events/{event_id}/content-reports?scope=event` (or `scope=day&day=2026-05-14`) |
| Which reports the event lists | `GET /v1/events/{event_id}/content-reports/kinds?scope=event` |
| Change that list (the event's, for everyone on it) | `PUT /v1/events/{event_id}/content-reports/kinds?scope=event` with `{"kinds": ["wrap_up"]}` |
| Build or rebuild the listed reports | `POST /v1/events/{event_id}/content-reports/generate?scope=event` (202) |
| Plain text | `GET /v1/events/{event_id}/content-reports/{kind}/text?scope=event` |
| Sign off (removes the draft band; no new AI run) | `POST /v1/events/{event_id}/content-reports/{kind}/approve?scope=event` |
| Undo a sign-off | `POST /v1/events/{event_id}/content-reports/{kind}/unpublish?scope=event` |
| Another format | `GET /v1/events/{event_id}/content-reports/{kind}/export?scope=event` |

Day and event reports are built from a per-session extraction, so a whole conference day is covered rather than truncated. Generating builds only the reports on the event's list and answers 409 `NOTHING_LISTED` when the list is empty, or 409 `NOTHING_TO_BUILD` when no session in the window has a transcript; signing off answers 404 when the report is not built and 409 `NOT_READY` while it is building; `scope=day` without `day` is 422 `DAY_REQUIRED`. Export takes `format=docx|txt` (default `docx`; another value is 400 `BAD_FORMAT`; `editorial_pack` is 409 `NOT_EXPORTABLE`). These endpoints take the full event id.

Every report endpoint in this section (session, day and event) is included with Enterprise, like every module. Reading needs permission to view assets; generating, changing the report list, signing off and undoing need permission to manage them (building a session report needs only view). The report list is one per event and scope, the same for everyone on the event; a report removed from it that is already built stays in the listing with `shown: false` and its download links.

## 3. Quotes

```bash
curl -s "https://api.audiobly.com/v1/events/$EVENT_ID/quotes?limit=50&offset=0" \
  -H "Authorization: Bearer $API_KEY"
```

The quotes chosen when the event's content is generated, in transcript order and paginated: `id`, `event_id`, `transcript_id`, `text`, `verbatim`, `speaker`, `char_start`, `char_end` (the position of `verbatim` in that transcript's full text), `relevance_note` (why it was chosen) and `created_at`. Every quote is checked word for word against the transcript when it is chosen; a candidate that is not found verbatim is dropped. Needs permission to view assets.

Since 1.3.16, `text` is the quote cleaned newspaper-style (false starts, fillers and repeated words removed; the speaker's own words, see the [Event Insights guide](/developers/guides/event-insights.md)) and `verbatim` the words as transcribed. A quote that is not one complete thought after cleaning is left out of `data`; `pagination.total` still counts every chosen quote, so a page can hold fewer than `limit` rows. The reading never calls the AI: quotes not cleaned yet are returned with `text` equal to `verbatim`.

The response is `{data: [...], pagination}`; `limit` is 1–200 (default 50); `event_id` must be the full id. These are event-level quotes from the event transcript. For a session's quotes with speaker and moment, quote search and single quotes for share links, see the [Event Insights guide](/developers/guides/event-insights.md); per-session shareable quote posts are the `social_highlights` report above.

## 4. Delegate portal

A magic-link page where a registered delegate sees their tickets and QR codes and can pass a ticket on, without an account. It needs the Experience module.

1. Your site asks for a link: `POST /v1/events/{event_id}/portal/request` with `{"email": "…"}` (any caller with prep permission; the Experience module is checked when the link is used). The response is `{"found": true, "token": "…"}` or `{"found": false}`. Your site emails the link; Audiobly sends nothing. Tokens last 30 days.
2. The delegate's page reads `GET /v1/portal/{token}`: `name`, `email`, `event_title`, `registration_status` and `tickets[]` (with their QR codes).
3. Transferring a ticket: `POST /v1/portal/{token}/tickets/{ticket_id}/transfer` with the new holder's `email` (and optionally `name`, `first_name`, `last_name`, `company`, `job_title`). A new QR code replaces the old one; a `ticket.transferred` webhook fires.

A portal link reads and changes only the organisation and event it was issued for: the request is pinned to that organisation before anything is read. Delegate links are not revocable; they expire after 30 days. Sponsor-portal links can be revoked: see the [sponsor analytics guide](/developers/guides/sponsor-analytics.md), section 6.

Errors: 401 `INVALID_TOKEN` (bad or expired link), 403 `MODULE_DISABLED`, 404 when the booking no longer exists or the ticket is not the delegate's, 422 `TICKET_INVALID` when the ticket cannot be transferred. For delegates with a password and a full delegate hub, see [delegate accounts](/developers/guides/ticketing.md) instead.
