Skip to main content
POST
/
v1
/
event
/
{eventId}
/
sessions
/
{sessionId}
/
files
curl --request POST \
  --url https://public-api.sessionboard.com/v1/event/{eventId}/sessions/{sessionId}/files \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "filename": "keynote-slides.pptx",
  "size_bytes": 2457600,
  "content_type": "application/vnd.openxmlformats-officedocument.presentationml.presentation",
  "title": "Keynote slides"
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "url": "<string>",
    "title": "<string>",
    "filename": "<string>",
    "size": 123,
    "mimetype": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "assigned_participant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "assigned_participant_email": "[email protected]",
    "assigned_participant_name": "<string>",
    "upload": {
      "url": "<string>",
      "method": "PUT",
      "headers": {
        "Content-Type": "<string>"
      }
    }
  }
}

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

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.

Response

Created — upload URL included

data
object

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