# Transcripts and media

Transcripts, subtitles, transcript search, photos and media files.

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

### POST /v1/branding/headshot

Upload headshot

Upload a speaker or attendee headshot; returns a stable URL to store in ``headshot_url``.

This exists because until now the field only accepted a URL, so anyone preparing an event
had to find the person's face already hosted somewhere on the web and point at it. That is
not a small inconvenience — those links are someone else's to break. Of the 59 portraits on
one live event site, twelve were hotlinked off LinkedIn, Google's thumbnail cache and
various press sites, and the LinkedIn ones already serve nothing at all because LinkedIn
blocks hotlinking. Uploading puts the image somewhere we control and can serve.

Deliberately NOT scoped to an event or a speaker id. The edit dialog offers the upload
before a new speaker has been saved, so there is no id to hang it on yet, and the caller
stores the returned URL through the ordinary speaker write. PREP_MANAGE, because that is
what writing a speaker already takes.

Scope: prep_manage

Body (multipart form):

- `file` (string, required): The file to upload.

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.
