---
title: "Attach a file to an event, or to every later occurrence of its series with"
method: POST
path: "/api/coach/scheduling/events/{id}/resources"
tags: ["coach-scheduling"]
---

# Attach a file to an event, or to every later occurrence of its series with

`POST /api/coach/scheduling/events/{id}/resources`

## Request

- Base URL: `https://api.rewritelifestyle.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rewritelifestyle.ai/api/coach/scheduling/events/{id}/resources`
- Auth: HTTP bearer

## Path parameters

- `id` number, required

## Request body `multipart/form-data`

- UploadEventResourceDto
  - `name` string: Display name. Defaults to the uploaded file's own name.
  - `visibleBeforeStart` boolean: Whether members can open it before the session starts.
  - `visibleAfterEnd` boolean: Whether members can still open it once the session has ended.
  - `scope` 'event' | 'series': `series` attaches the same file to every later occurrence of this event's series as well. Ignored on an event that is not part of one.

## Response `201`

## Changes

- **2026-09-17** `c79f95b0fabc`: 1 info
  - added the new optional request property `scope`
- **2026-09-12** `0d5ef02a4fbe`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/changes/api/coach/scheduling/events/:id/resources/post.md)

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
