Skip to main content
POST
Replace session file bytes

Authorizations

x-access-token
string
header
required

Organization API token. Generate from Organization Settings → API Tokens.

Path Parameters

eventId
integer
required

Event ID

sessionId
string<uuid>
required

Session UUID

fileId
string<uuid>
required

Session file (Content) UUID

Body

application/json
filename
string
required

Original filename including extension (e.g. slides.pptx, handout.pdf).

Example:

"keynote-slides.pptx"

size_bytes
integer
required

Exact file size in bytes. Maximum 500 MB (524288000) for direct-to-storage upload. Use POST .../files/upload for files up to 50 MB without specifying size.

Required range: 1 <= x <= 524288000
content_type
string

MIME type. Optional; inferred from the filename extension when omitted.

Example:

"application/vnd.openxmlformats-officedocument.presentationml.presentation"

mimetype
string

Alias for content_type.

title
string

Display title. Defaults to filename.

assigned_participant_id
string<uuid> | null

Contact UUID of a session participant to assign this file to.

content_slot_id
string<uuid> | null

The upload slot this file answers. Optional — API callers act as the organization, so no slot deadline applies and a file may be attached without a slot. When set, the slot must be active, apply to the session (GET .../content-slots?session_id=), accept the file's declared type and have room under its max_files; otherwise 400 names the slot. The file's type is derived from the slot's content_type. Ignored on events that still use a single file request.

Response

OK — new upload URL included

data
object

A content attachment (file, document, or media) associated with a session.