---
title: "Create or update events (shifts) through a CSV file"
method: POST
path: "/v1/public/events/import-file"
tags: ["Public", "Events"]
---

# Create or update events (shifts) through a CSV file

`POST /v1/public/events/import-file`

## Request

- Base URL: `https://api.evolia.com`
- URL: `https://api.evolia.com/v1/public/events/import-file`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/evolia/apis/public-evolia/docs/v1/public/events/import-file/post.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `dryRun` boolean, required
- `includeImportEvents` boolean, required
- `format` string, required

## Response `201`

---

[API](https://skmtc.dev/evolia/apis/public-evolia.md) - [All operations](https://skmtc.dev/evolia/apis/public-evolia/llms.txt) - [OpenAPI document](https://skmtc.dev/evolia/apis/public-evolia/revisions/e42abb18d4b6?raw)
