---
title: "Create asset folder"
method: POST
path: "/asset-folders"
tags: ["AssetFolders"]
---

# Create asset folder

`POST /asset-folders`

## Request

- Base URL: `https://enterprise.knak.io/api/published/v1`
- URL: `https://enterprise.knak.io/api/published/v1/asset-folders`
- Auth: none declared
- TypeScript: <https://skmtc.dev/knak/apis/knak-enterprise-api/docs/asset-folders/post.ts> (a function with typed inputs; its response is checked against the schema)

Create an [asset folders](#tag/asset_folder_model).

## Request body

- object
  - `name` string, required
  - `type` 'folder' | 'campaign', required
  - `parent_folder_id` string, required

## Response `201`

OK

- AssetFolderItem
  - `data` AssetFolder
    - `type` string
    - `id` string
    - `attributes` object
      - `id` string
      - `name` string
      - `parent_folder_id` string, nullable
      - `brand_id` string
      - `type` string
      - `created_at` string
      - `updated_at` string

## Other responses

- `400`: Bad Request
- `401`: Unauthenticated
- `403`: Unauthorized

---

[API](https://skmtc.dev/knak/apis/knak-enterprise-api.md) - [All operations](https://skmtc.dev/knak/apis/knak-enterprise-api/llms.txt) - [OpenAPI document](https://skmtc.dev/knak/apis/knak-enterprise-api/revisions/31d2c94edfcc?raw)
