# Sessions

The programme: talks, panels and their speakers, times and rooms.

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

### POST /v1/events/{event_id}/sessions

Create session

Add a session to the event (201). The event's sessions are then re-sorted into programme
order by start time. 422 if `title` is blank; 404 if the track or location is not part of
the event.

Scope: prep_manage

Parameters:

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

Body (JSON):

- `title` (string, required): The title shown to attendees.
- `starts_at` (string (date-time)): When it starts, as an ISO 8601 date and time.
- `ends_at` (string (date-time)): When it ends, as an ISO 8601 date and time.
- `session_type` (string): The kind of session, such as keynote, panel or workshop.
- `description` (string): A short description shown to people browsing the event.
- `summary_word_count_override` (integer): Target length, in words, for this item's summary; null uses the event or account default.
- `track_id` (string (uuid)): The track this session belongs to.
- `location_id` (string (uuid)): The room or location where this session takes place.
- `language` (string): The spoken language, as a language code such as en.
- `capacity` (integer): How many people can register for the session.

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.
