# Events

Create, list and update events, tracks, rooms, keyterms and glossaries.

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

### POST /v1/org-units

Create org unit

Create a brand, product or sub-product unit. A brand is top-level; a product's parent must be
a brand and a sub-product's a product (422 otherwise). Returns 409 if the name already exists
under that parent.

Scope: org_manage

Body (JSON):

- `name` (string, required): Display name.
- `kind` (OrgUnitKind, required): Levels of the Customer → Brand → Product → Sub-Product hierarchy.

The Customer is the Organization itself (the tenancy/contract anchor); only the
three sub-levels are OrgUnit rows.
- `capture_integration` (string): Which live-capture source feeds this event: none, zoom, teams, webex or live. Null inherits the organisation setting.
- `human_review_required` (boolean): Whether a person must review generated outputs before they are approved; null inherits the setting.
- `auto_approve` (boolean): Whether outputs are approved automatically once generated; null inherits the setting.
- `pii_review_required` (boolean): Whether personal details found in a transcript must be reviewed before publishing; null inherits the setting.
- `speaker_verification_required` (boolean): Whether speaker names must be confirmed before publishing; null inherits the setting.
- `publish_automatically` (boolean): Whether approved outputs are published without a separate publish step; null inherits the setting.
- `brand_logo_url` (string): Address of the logo used on reports and pages; null inherits the setting.
- `brand_logo_dark_url` (string): Address of the logo version for dark backgrounds; null inherits the setting.
- `brand_primary_color` (string): Main brand colour as a hex value such as #1F4D3A; null inherits the setting.
- `brand_secondary_color` (string): Secondary brand colour as a hex value; null inherits the setting.
- `brand_font_heading` (string): Font used for headings in reports; null inherits the setting.
- `brand_font_body` (string): Font used for body text in reports; null inherits the setting.
- `brand_template_design` (string): The report design applied to this event's reports; null inherits the setting.
- `brand_report_copy` (object): Standard wording added to reports, such as a footer or disclaimer; null inherits the setting.
- `brand_voice` (string): A short description of the writing voice generated text should follow; null inherits the setting.
- `ai_model` (string): The model used to generate outputs; must be one of the models Audiobly offers, and null inherits the setting.
- `ai_language` (string): The language generated outputs are written in; null inherits the setting.
- `ai_writing_style` (string): The writing style for generated outputs; null inherits the setting.
- `ai_tone` (string): The tone for generated outputs; null inherits the setting.
- `ai_translation_enabled` (boolean): Whether generated outputs are also translated; null inherits the setting.
- `ai_translation_languages` (array of string): The languages generated outputs are translated into when translation is on; null inherits the setting.
- `ai_executive_audience` (boolean): Whether outputs are also written for an executive audience; null inherits the setting.
- `parent_unit_id` (string (uuid))
- `default_summary_word_count` (integer)

Responses:

- 201: 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.
