---
title: "Add files to a session"
method: POST
path: "/v1/events/{eventId}/sessions/{sessionId}/files"
tags: ["Sessions"]
---

# Add files to a session

`POST /v1/events/{eventId}/sessions/{sessionId}/files`

Use this endpoint to add files to a session for a specific event type in your Zuddl organization.

Required API key scopes: `WRITE`

**This API can only be called with an access key that was generated for Backend usage.**

## Path parameters

- `eventId` string, required
- `sessionId` string, required

## Request body

- OrgEventsAppDomainApiProductEventSessionDtosSessionAddFileRequest[]
  - `fileName` string, required — File name
  - `fileUrl` string, required — Url of the file

## Response `200`

Files added successfully

- OrgEventsAppDomainApiProductEventSessionDtosSessionDetailsFile — Files of the session
  - `fileId` string, uuid — Unique identifier of the file
  - `fileName` string — File name
  - `fileUrl` string — Url of the file

## Other responses

- `400` — Invalid session ID or event ID
- `401` — Unauthorized access to event
- `404` — Event not found

---

[API](https://skmtc.net/zuddl/apis/zuddl-webhook-documentation.md) · [All operations](https://skmtc.net/zuddl/apis/zuddl-webhook-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zuddl/zuddl-webhook-documentation/revisions/571c1d41e62a/schema)
