Skip to main content
POST
Create upload folder

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

project_reference
string
required

Project slug, UUID, or domain that identifies the project.

Body

application/json
folder_path
string

Folder path (for example, "assets/images/"). Trailing slash is added automatically.

path
string

Another spelling of folder_path. Send one of the two.

visibility
enum<string>
default:project

Folder visibility; defaults to project. Changing inherited visibility requires path administration; public visibility follows the paid-project policy.

Available options:
project,
public,
private

Response

Folder created.

path
string
required

Project-relative storage path, without a leading slash.

visibility
enum<string>
required

Effective access policy for the upload or folder.

Available options:
project,
public,
private
permission
enum<string> | null
required

The caller's access to the folder as the uploads list reports it: read, write or admin. Null when the list does not show the folder to the caller.

Available options:
read,
write,
admin,
null
created_at
string
required

Creation time of the folder. A folder that already existed keeps its time.