Skip to main content
POST

Authorizations

x-api-key
string
header
required

API key with sm_ prefix. Get your key at https://sudomock.com/dashboard/api-keys

Body

application/json

Create request for POST /api/v1/folders.

name
string
required

The folder's name. Must be unique among the folders beside it, whatever the capitalisation.

Example:

"Frames"

parent_uuid
string | null

The folder to create this one in. Leave it out to create it at the top of the library.

Example:

"9e3b6c14-27af-4d58-b0e1-5c8a2f9d7340"

Response

201 - application/json

Successful Response

Single folder response for POST and PATCH /api/v1/folders.

data
Folder · object
required

The folder.

success
boolean
default:true

Always true on a successful response.

Example:

true