# Delegate hub

Hub sessions and counts, companies, delegate accounts, briefings, actions and connections.

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

### POST /v1/delegate-accounts/{account_id}/activity

Record activity

Store what a signed-in delegate did on the organiser's event site: up to 50 items per
call (`type`, optional `occurred_at`, `event_id`, `session_id`, `payload` ≤ 4 KB). Kept on
the delegate's account for audience intelligence; erased with the account. Bad items are
dropped and counted, never an error; event and session ids outside your organisation are
cleared. 404 if the account is not in your organisation, 429 when sent too often. Requires
the organisation's API key (403 API_KEY_REQUIRED).

Scope: prep_manage

Parameters:

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

Body (JSON):

- `items` (array of DelegateActivityItem): The ticket types and quantities being ordered.

Responses:

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