# Delegate hub

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

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

### PUT /v1/delegate-accounts/{account_id}/notes

Put note

Write the delegate's note for the event (no `session_id`) or one of its sessions: one
note each, replaced on every save (up to 10,000 characters). Empty `text` deletes it (204).
The activity row says a note was saved and its length, never its text. 404 if the account,
event or session is not in your organisation. Requires the organisation's API key.

Scope: prep_manage

Parameters:

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

Body (JSON):

- `event_id` (string (uuid), required): The id of the event this relates to.
- `session_id` (string (uuid)): The id of the session this relates to.
- `text` (string): Empty deletes the note

Responses:

- 200: Successful Response
- 204: The note was emptied, so it was deleted
- 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.
