---
title: "POST /api/media/folders"
method: POST
path: "/api/media/folders"
tags: ["TenantMedia"]
---

# POST /api/media/folders

`POST /api/media/folders`

## Request

- Base URL: `https://api.wearelearning.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wearelearning.io/api/media/folders`
- Auth: OAuth 2
  - Implicit: `https://login.wearelearning.io/authorize?audience=https://api.wearelearning.io`

## Request body

- AddMediaFolderDto
  - `name` string, required
  - `parentFolderId` string, uuid, nullable: A valid GUID

## Response `201`

Created

- MediaFolderDto
  - `id` string, uuid, required: A valid GUID
  - `name` string, required
  - `parentFolderId` string, uuid, nullable: A valid GUID

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/wearelearning/apis/we-are-learning-api.md) - [All operations](https://skmtc.dev/wearelearning/apis/we-are-learning-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wearelearning/apis/we-are-learning-api/revisions/e2ca5265db77?raw)
