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

Scenarios Folders

Scenarios can be grouped into folders for better organization. The following endpoints allow you to create and manage scenarios folders.

List scenario folders

get
/scenarios-folders

Retrieves direct scenario folder children for a team or organization. Provide teamId or organizationId. If both are provided, teamId is used. Omit parentId to return top-level folders.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Query parameters
teamIdintegerRequired

Unique ID of the Team.

Example: 1
organizationIdinteger · min: 1 · max: 2147483647Optional

The unique ID of the organization whose scenario folders should be returned.

parentIdinteger · min: 1 · max: 2147483647Optional

The parent folder whose direct children should be returned. Omit to return top-level folders.

childrenDepthstring · enumOptional

Set to all to return all descendants under children. By default, children includes only one direct child level.

Possible values:
Responses
200

Successful response

application/json
get/scenarios-folders
GET /api/v2/scenarios-folders?teamId=1 HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
200

Successful response

{
  "scenariosFolders": [
    {
      "id": 1576,
      "name": "ALPHA",
      "path": "ALPHA",
      "parentId": null,
      "position": null,
      "scenariosTotal": 10,
      "scenariosSubtreeTotal": 10,
      "hasChildren": false,
      "children": []
    }
  ]
}

Create scenario folder

post
/scenarios-folders

Creates a new scenario folder with data passed in the request body. As the response, it returns all details of the created scenario folder.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Body
namestringRequired

The name of the scenario folder. The name must be at most 100 characters long and does not need to be unique.

teamIdinteger · min: 1 · max: 2147483647Required

The unique ID of the team in which the scenario folder will be created.

parentIdinteger · min: 1 · max: 2147483647 · nullableOptional

The unique ID of the parent scenario folder. Omit or pass null to create a top-level folder.

Responses
200

Created a Folder

application/json
post/scenarios-folders
POST /api/v2/scenarios-folders HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 44

{
  "name": "ZULU",
  "teamId": 123,
  "parentId": null
}
200

Created a Folder

{
  "scenarioFolder": {
    "id": 1576,
    "name": "ALPHA",
    "path": "ALPHA",
    "parentId": null,
    "position": null,
    "scenariosTotal": 10,
    "scenariosSubtreeTotal": 10,
    "hasChildren": false,
    "children": []
  }
}

Move scenarios to a folder

post
/scenarios-folders/move-scenarios

Moves selected scenarios from the specified team into a target folder. Use targetFolderId: null to uncategorize them.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Body
teamIdinteger · min: 1 · max: 2147483647Required

The team that owns all scenarios and the target folder.

scenarioIdsinteger[] · min: 1 · max: 10000Required

The scenario IDs to move.

targetFolderIdinteger · min: 1 · max: 2147483647 · nullableRequired

The target folder ID. Use null to uncategorize the scenarios.

Responses
200

Scenarios moved

application/json
movedScenarioIdsinteger[]Required
targetFolderIdinteger · nullableRequired
post/scenarios-folders/move-scenarios
POST /api/v2/scenarios-folders/move-scenarios HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 60

{
  "teamId": 123,
  "scenarioIds": [
    123,
    456
  ],
  "targetFolderId": 1576
}
200

Scenarios moved

{
  "movedScenarioIds": [
    123,
    456
  ],
  "targetFolderId": 1576
}

Reorder scenario folders

post
/scenarios-folders/reorder

Sets manual positions for direct sibling folders within one parent. Omitted siblings have their position cleared and are listed alphabetically after positioned folders.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Body
teamIdinteger · min: 1 · max: 2147483647Required

The team that owns the sibling folder set.

parentIdinteger · min: 1 · max: 2147483647 · nullableOptional

The parent folder whose direct children are being reordered. Omit or pass null for top-level folders.

folderIdsinteger[] · min: 1 · max: 999Required

Folder IDs in the desired order. All folders must be direct siblings under parentId. Omitted sibling folders have their position cleared.

Responses
200

Scenario folders reordered

application/json
reorderedFolderIdsinteger[]Required
parentIdinteger · nullableRequired
post/scenarios-folders/reorder
POST /api/v2/scenarios-folders/reorder HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 54

{
  "teamId": 123,
  "parentId": null,
  "folderIds": [
    1576,
    1577
  ]
}
200

Scenario folders reordered

{
  "reorderedFolderIds": [
    1576,
    1577
  ],
  "parentId": null
}

Delete scenario folder

delete
/scenarios-folders/{folderId}

Deletes a scenario folder with a given ID and returns the ID in the response. Scenarios in the deleted folder and its subfolders are moved to the deleted folder's parent, or uncategorized when deleting a top-level folder. Descendant folders are deleted.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
folderIdintegerRequired

The unique ID of the scenario folder. It can be retrieved from the List scenarios folders endpoint.

Example: 1
Responses
200

Successful response

application/json
scenarioFolderintegerOptional
delete/scenarios-folders/{folderId}
DELETE /api/v2/scenarios-folders/{folderId} HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
200

Successful response

{
  "scenarioFolder": 123
}

Update scenario folder

patch
/scenarios-folders/{folderId}

Updates a scenario folder with a given ID by passing a new name, a new parent folder, or both in the request body. Use parentId null to move the folder to the top level. Any property that is not provided will be left unchanged. In the response, it returns all details of the updated folder including properties that were not changed.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
folderIdintegerRequired

The unique ID of the scenario folder. It can be retrieved from the List scenarios folders endpoint.

Example: 1
Query parameters
Body
namestringOptional

The name for the updated scenario folder. The name must be at most 100 characters long and does not need to be unique.

parentIdinteger · min: 1 · max: 2147483647 · nullableOptional

The unique ID of the new parent scenario folder. Use null to move the folder to the top level.

Responses
200

Folder updated

application/json
patch/scenarios-folders/{folderId}
PATCH /api/v2/scenarios-folders/{folderId} HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 32

{
  "name": "BRAVO",
  "parentId": null
}
200

Folder updated

{
  "scenarioFolder": {
    "id": 1576,
    "name": "ALPHA",
    "path": "ALPHA",
    "parentId": null,
    "position": null,
    "scenariosTotal": 10,
    "scenariosSubtreeTotal": 10,
    "hasChildren": false,
    "children": []
  }
}

Last updated