Skip to main content
POST
/
v1
/
events
/
{eventId}
/
sessions
/
{sessionId}
/
files
Add files to a session
curl --request POST \
  --url https://api.zuddl.com/v1/events/{eventId}/sessions/{sessionId}/files \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "fileName": "Presentation",
    "fileUrl": "https://phoenixlive.imgix.net/9807c938-413f-4a18-8f22-c3ac150f1e61"
  }
]
'
{
  "fileId": "d5e31ba5-2d1e-4918-bb60-dd1514b4b397",
  "fileName": "Presentation",
  "fileUrl": "https://phoenixlive.imgix.net/9807c938-413f-4a18-8f22-c3ac150f1e61"
}

Authorizations

Authorization
string
header
required

Provide your API key secret in the Authorization header

Path Parameters

eventId
string
required

Unique identifier of the event

Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
sessionId
string
required

Unique identifier of the session

Body

application/json
fileName
string
required

File name

Minimum string length: 1
Example:

"Presentation"

fileUrl
string
required

Url of the file

Pattern: https?://(?:www\d*\.)?[\p{L}\p{N}@:%._+~#=-]{1,256}\.[\p{L}\p{N}()]{1,6}\b[\p{L}\p{N}()!@:%_+.~#?&/=-]*
Example:

"https://phoenixlive.imgix.net/9807c938-413f-4a18-8f22-c3ac150f1e61"

Response

Files added successfully

Files of the session

fileId
string<uuid>

Unique identifier of the file

Example:

"d5e31ba5-2d1e-4918-bb60-dd1514b4b397"

fileName
string

File name

Example:

"Presentation"

fileUrl
string

Url of the file

Example:

"https://phoenixlive.imgix.net/9807c938-413f-4a18-8f22-c3ac150f1e61"