For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create Directory

Create an empty media-library directory.

Use this to organize media before uploading files. Success returns 204 with no response body; list the parent directory to inspect its contents.

Behaviour

System folders cannot be created.

Requires the files:write scope.

post
Authorizations
AuthorizationstringRequired

API key sent as a bearer token (mk_live_… / mk_test_…).

Body

Data schema used by Create Directory (POST /v1/files). Read that operation for usage, permissions and update rules. Required fields and allowed values are defined below; request and response shapes can differ.

typeconst: directoryRequired
directoryPathstring · max: 1024Optional
namestring · min: 1 · max: 1024Required
Responses
204

No content.

post/v1/files
POST /v1/files HTTP/1.1
Host: admin.mimeeqapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 52

{
  "type": "text",
  "directoryPath": "text",
  "name": "text"
}

No content

Last updated

Was this helpful?