POST
/
v1
/
folders
curl --request POST \
  --url https://api.getmaxim.ai/v1/folders \
  --header 'Content-Type: application/json' \
  --header 'x-maxim-api-key: <api-key>' \
  --data '{
  "workspaceId": "<string>",
  "name": "<string>",
  "entityType": "WORKFLOW",
  "parentId": "<string>",
  "config": "<any>"
}'
{
  "data": {
    "id": "<string>",
    "workspaceId": "<string>",
    "name": "<string>",
    "entityType": "WORKFLOW",
    "parentId": "<string>",
    "config": "<any>",
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "type": "FOLDER"
  }
}

Authorizations

x-maxim-api-key
string
header
required

API key for authentication

Body

application/json

Response

201
application/json

Folder created successfully

The response is of type object.