# Delegate hub

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

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

### POST /v1/delegate-accounts/masterclass-invites

Masterclass invites

Invite everyone booked on `event_id` to pre-register for its masterclasses (sessions
with a capacity). Goes once per booking, never to an unsubscribed account, and only before
the event starts. `dry_run` (the default) only counts recipients and reports exclusions; a
real run sends in the background. 409 NOT_ENABLED, MASTERCLASS_PATH_REQUIRED (set
`masterclass_path` in the settings), NO_MASTERCLASSES or EVENT_STARTED.

Scope: org_manage

Body (JSON):

- `event_id` (string (uuid), required): The id of the event this relates to.
- `dry_run` (boolean): When true, shows what would change without changing anything.

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.
