For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs. Agents can also search and read this documentation through its MCP server.
Skip to content

Scenarios

Scenarios allow you to create and run automation tasks. A scenario consists of a series of modules that indicate how data should be transferred and transformed between apps or services. The following endpoints allow you to create, manage and execute scenarios and also inspect and manage scenario inputs.

List scenarios

get
/scenarios

Retrieves a collection of all scenarios for a team or an organization with a given ID. Returned scenarios are sorted by proprietary setting in descending order.

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

The unique ID of the team whose scenarios will be retrieved. If this parameter is set, the organizationId parameter must be skipped. For each request either teamId or organizationId must be defined.

Example: 1
organizationIdintegerOptional

The unique ID of the organization whose scenarios will be retrieved. If this parameter is set, the teamId parameter must be skipped. For each request either teamId or organizationId must be defined.

Example: 11
id[]integer[]Optional

The array of IDs of scenarios to retrieve.

Example: [1,2,3]
folderIdintegerOptional

The unique ID of the folder containing scenarios you want to retrieve. By default, only scenarios directly assigned to this folder are returned.

Example: 1
includeSubfoldersbooleanOptional

When set to true with folderId, also returns scenarios assigned to descendant folders up to the scenario folder nesting limit.

labelIds[]integer[]Optional

Returns scenarios carrying any of the given labels (OR semantics) — a scenario is included if it has at least one of the listed labels. Composes with other filters (e.g. folderId, name) using AND. Omit this parameter, or pass an empty array, to skip label filtering. Ignored when deleted is set to true.

Example: [1,2]
isActivebooleanOptional

Set this parameter to true to get only active scenarios in the response.

Example: true
islinkedbooleanOptionalDeprecated

This parameter is deprecated. Use the isActive parameter to filter for active scenarios instead.

Example: true
conceptbooleanOptional

If set to true, the response contains only scenario concepts.

Example: true
typestring · enumOptional

Limits the type of scenarios to be retrieved.

Example: scenarioPossible values:
deletedbooleanOptional

Set this parameter to true to list scenarios currently in the trash — scenarios that were deleted and are still within the 30-day recovery window. When omitted (the default), deleted scenarios are excluded from the response.

Example: true
namestringOptional

Filters scenarios by name using a case-insensitive substring match.

Example: My scenario
searchstringOptional

Searches scenario names using a case-insensitive literal substring match. An empty value is treated as omitted. A positive integer, optionally surrounded by spaces, also matches the scenario with that exact ID; the original untrimmed value remains the name substring. A blank-only value therefore searches names for those spaces and does not match by ID. Partial, signed, decimal, leading-zero, and out-of-range IDs do not match by ID.

Example: {"value":"925"}
isinvalidbooleanOptional

Set to true to return only invalid scenarios (those whose blueprint failed validation), or false to return only valid ones.

Example: true
islockedbooleanOptional

Set to true to return only locked scenarios, or false to return only unlocked ones.

Example: true
createdByUserNamestringOptional

Filters scenarios by the name of the user who created them.

Example: John Doe
updatedByUserNamestringOptional

Filters scenarios by the name of the user who last updated them.

Example: John Doe
dlqCountintegerOptional

Filters scenarios by their number of unresolved incomplete executions.

Example: 0
pg[offset]integerOptional

The number of entities you want to skip before getting entities you want.

pg[limit]integerOptional

The maximum number of entities you want to get in the response.

pg[sortBy]string · enumOptional

The value that will be used to sort returned entities by.

Default: proprietalPossible values:
pg[sortDir]string · enumOptional

The sorting order. It accepts the ascending and descending direction specifiers.

Possible values:
Responses
200

Retrieved scenarios

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

Retrieved scenarios

{
  "scenarios": [
    {
      "id": 925,
      "name": "New scenario",
      "teamId": 215,
      "hookId": null,
      "devices": [],
      "deviceId": null,
      "deviceScope": null,
      "concept": false,
      "description": "",
      "folderId": null,
      "isinvalid": false,
      "islinked": false,
      "isActive": false,
      "islocked": false,
      "isPaused": false,
      "usedPackages": [
        "json"
      ],
      "usedModules": [
        {
          "packageName": "json",
          "moduleName": "ParseJSON"
        }
      ],
      "lastEdit": "2021-09-22T06:40:56.692Z",
      "scheduling": {
        "type": "indefinitely",
        "interval": 900
      },
      "iswaiting": false,
      "dlqCount": 0,
      "allDlqCount": 0,
      "createdByUser": {
        "id": 985,
        "name": "John Doe",
        "email": "j.doe@example.com"
      },
      "updatedByUser": {
        "id": 986,
        "name": "John Foo",
        "email": "j.foo@example.com"
      },
      "nextExec": "2021-09-22T06:41:56.692Z",
      "created": "2021-10-22T06:41:56.692Z",
      "type": "scenario",
      "chainingRole": null,
      "isShared": false,
      "operations": 1200,
      "centicredits": 34,
      "transfer": 8192,
      "labels": [
        {
          "id": 42,
          "name": "Acme",
          "colour": "brand",
          "scope": "team",
          "teamId": 215,
          "description": "Acme client work",
          "createdBy": 985,
          "created": "2026-06-24T08:00:00.000Z",
          "updated": null
        }
      ]
    }
  ],
  "pg": {
    "sortBy": "id",
    "sortDir": "desc",
    "offset": 0,
    "limit": 10
  }
}

Create scenario

post
/scenarios

Creates a new scenario with data passed in the request body. In the response, it returns the details of the created scenario. The blueprint is not returned; retrieve it separately via the Get scenario blueprint endpoint.

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
confirmedbooleanOptional

If set to true this parameter confirms the scenario creation when the scenario contains the app that is used in the organization for the first time and needs installation. If the parameter is missing or it is set to false an error code is returned and the scenario is not created.

Example: true
Body
blueprintstringRequired

The scenario blueprint. To save resources, the blueprint is sent as a string, not as an object.

teamIdintegerRequired

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

schedulingstringRequired

The scenario scheduling details. To save resources, the scheduling details are sent as a string, not as an object.

folderIdintegerOptional

The unique ID of the folder in which you want to store created scenario.

basedonintegerOptional

Defines if the scenario is created based on a template. The value is the template ID.

descriptionstringOptional

A description of the scenario.

Responses
200

Scenario created successfully

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

{
  "blueprint": "{ \"name\": \"Empty integration\", \"flow\": [ { \"id\": 2, \"module\": \"json:ParseJSON\", \"version\": 1, \"metadata\": { \"designer\": { \"x\": -46, \"y\": 47, \"messages\": [ { \"category\": \"last\", \"severity\": \"warning\", \"message\": \"A transformer should not be the last module in the route.\" } ] } } } ], \"metadata\": { \"version\": 1, \"scenario\": { \"roundtrips\": 1, \"maxErrors\": 3, \"autoCommit\": true, \"autoCommitTriggerLast\": true, \"sequential\": false, \"confidential\": false, \"dataloss\": false, \"dlq\": false, \"freshVariables\": false }, \"designer\": { \"orphans\": [ ] } } }",
  "teamId": 1,
  "scheduling": "{ \"type\": \"indefinitely\", \"interval\": 900 }",
  "folderId": 1,
  "basedon": 20
}
{
  "scenario": {
    "id": 925,
    "name": "New scenario",
    "teamId": 215,
    "hookId": null,
    "devices": [],
    "deviceId": null,
    "deviceScope": null,
    "concept": false,
    "description": "",
    "folderId": null,
    "folderPath": null,
    "isinvalid": false,
    "islinked": false,
    "isActive": false,
    "islocked": false,
    "isPaused": false,
    "usedPackages": [
      "json"
    ],
    "lastEdit": "2021-09-22T06:40:56.692Z",
    "scheduling": {
      "type": "indefinitely",
      "interval": 900
    },
    "iswaiting": false,
    "dlqCount": 0,
    "allDlqCount": 0,
    "createdByUser": {
      "id": 985,
      "name": "John Doe",
      "email": "j.doe@example.com"
    },
    "updatedByUser": {
      "id": 986,
      "name": "John Foo",
      "email": "j.foo@example.com"
    },
    "nextExec": "2021-09-22T06:41:56.692Z",
    "created": "2021-10-22T06:41:56.692Z",
    "type": "scenario",
    "chainingRole": null,
    "isShared": false
  }
}

Count scenarios in trash

get
/scenarios/trash/count

Returns the number of scenarios currently in the trash for a team — scenarios that were deleted and are still within the 30-day recovery window. Useful for rendering a trash badge count. The count respects the same permissions as listing scenarios.

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

The unique ID of the team whose trashed scenarios will be counted.

Example: 1
Responses
200

The number of scenarios currently in the trash.

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

The number of scenarios currently in the trash.

{
  "scenariosTrashedTotal": 3
}

Move scenarios to trash

post
/scenarios/move-to-trash

Moves up to 1,000 scenarios of one team to the trash in a single request. Each scenario is soft-deleted the same way as DELETE /scenarios/{scenarioId}: an active scenario is stopped first, and the scenario can be restored within the 30-day recovery window. The request is the confirmation, so a scenario that other scenarios use as a subscenario or as a dead-letter queue is trashed without the confirmation prompt the single delete returns.

Every requested id is processed on its own. An id that does not exist, belongs to another team, or is already in trash is reported in rejectedScenarios with IM301; a failure while trashing one scenario rejects only that scenario with the failure's code. The response is 200 even when every id was rejected. Larger selections must be split into several requests.

Requires the scenario delete permission on the team.

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 · int32 · min: 1 · max: 2147483647Required

The team every listed scenario must belong to.

scenarioIdsinteger · int32[] · min: 1 · max: 1000Required

Ids of the scenarios to move to trash. Larger selections must be sent in several requests.

Responses
200

The request was processed; inspect rejectedScenarios and summary for per-id results.

application/json
trashedScenarioIdsinteger[]Required

Ids that were moved to trash by this request.

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

{
  "teamId": 112,
  "scenarioIds": [
    1201,
    1202,
    1203
  ]
}
{
  "trashedScenarioIds": [
    1201,
    1202
  ],
  "rejectedScenarios": [
    {
      "scenarioId": 1203,
      "code": "IM301",
      "detail": "Scenario does not exist or is already in trash."
    }
  ],
  "summary": {
    "total": 3,
    "trashed": 2,
    "rejected": 1
  }
}

Get scenario details

get
/scenarios/{scenarioId}

Retrieves all available properties of a scenario with a given ID. The returned details do not include a scenario blueprint. If you want to get a scenario blueprint, refer to the Get scenario blueprint endpoint.

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
scenarioIdintegerRequired

The ID of the scenario. You can get the scenarioId with the List scenarios API call.

Example: 112
Query parameters
Responses
200

Successful response

application/json
get/scenarios/{scenarioId}
GET /api/v2/scenarios/{scenarioId} HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
200

Successful response

{
  "scenario": {
    "id": 925,
    "name": "New scenario",
    "teamId": 215,
    "hookId": null,
    "devices": [],
    "deviceId": null,
    "deviceScope": null,
    "concept": false,
    "description": "",
    "folderId": null,
    "folderPath": null,
    "isinvalid": false,
    "islinked": false,
    "isActive": false,
    "islocked": false,
    "isPaused": false,
    "usedPackages": [
      "json"
    ],
    "lastEdit": "2021-09-22T06:40:56.692Z",
    "scheduling": {
      "type": "indefinitely",
      "interval": 900
    },
    "iswaiting": false,
    "dlqCount": 0,
    "allDlqCount": 0,
    "createdByUser": {
      "id": 985,
      "name": "John Doe",
      "email": "j.doe@example.com"
    },
    "updatedByUser": {
      "id": 986,
      "name": "John Foo",
      "email": "j.foo@example.com"
    },
    "nextExec": "2021-09-22T06:41:56.692Z",
    "created": "2021-10-22T06:41:56.692Z",
    "type": "scenario",
    "chainingRole": null,
    "isShared": false
  }
}

Delete scenario

delete
/scenarios/{scenarioId}

Deletes a scenario with a given ID and returns the ID in the response.

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
scenarioIdintegerRequired

The ID of the scenario. You can get the scenarioId with the List scenarios API call.

Example: 112
Responses
200

Scenario deleted successfully

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

Scenario deleted successfully

{
  "scenario": 1399
}

Update scenario

patch
/scenarios/{scenarioId}

Updates a scenario with a given ID by passing new values in the request body. Any property that is not provided will be left unchanged. In the response, it returns all details of the updated scenario 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
scenarioIdintegerRequired

The ID of the scenario. You can get the scenarioId with the List scenarios API call.

Example: 112
Query parameters
confirmedbooleanOptional

If set to true this parameter confirms the scenario update when the scenario contains the app that is used in the organization for the first time and needs installation. If the parameter is missing or it is set to false an error code is returned and the scenario is not updated.

Example: true
Body
blueprintstringOptional

The scenario blueprint. To save resources, the blueprint is sent as a string, not as an object.

schedulingstringOptional

The scenario scheduling details. To save resources, the scheduling details are sent as a string, not as an object.

folderIdinteger · nullableOptional

The unique ID of the folder to which you want to move the scenario. Set to null to remove its folder assignment.

namestringOptional

A new name of the scenario. The name does not need to be unique.

baseVersionintegerOptional

Optimistic concurrency token: the scenario version the submitted blueprint is based on, as returned by GET /scenarios/{scenarioId}/blueprint (response.version) or by a previous update (scenarioVersion.version). When provided and the scenario has been saved since (its current version is higher), the update is rejected with 409 / SC409 and nothing is changed; the error's metadata carries currentVersion, baseVersion, lastEdit and lastEditedBy. Omit it to save unconditionally.

Responses
200

Scenario was updated successfully

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

{
  "blueprint": "{ \"name\": \"Empty integration\", \"flow\": [ { \"id\": 2, \"module\": \"json:ParseJSON\", \"version\": 1, \"metadata\": { \"designer\": { \"x\": -46, \"y\": 47, \"messages\": [ { \"category\": \"last\", \"severity\": \"warning\", \"message\": \"A transformer should not be the last module in the route.\" } ] } } } ], \"metadata\": { \"version\": 1, \"scenario\": { \"roundtrips\": 1, \"maxErrors\": 3, \"autoCommit\": true, \"autoCommitTriggerLast\": true, \"sequential\": false, \"confidential\": false, \"dataloss\": false, \"dlq\": false, \"freshVariables\": false }, \"designer\": { \"orphans\": [ ] } } }",
  "scheduling": "{ \"type\": \"indefinitely\", \"interval\": 900 }",
  "folderId": 1,
  "name": "My New Integration",
  "baseVersion": 12
}
{
  "scenario": {
    "id": 925,
    "name": "New scenario",
    "teamId": 215,
    "hookId": null,
    "devices": [],
    "deviceId": null,
    "deviceScope": null,
    "concept": false,
    "description": "",
    "folderId": null,
    "folderPath": null,
    "isinvalid": false,
    "islinked": false,
    "isActive": false,
    "islocked": false,
    "isPaused": false,
    "usedPackages": [
      "json"
    ],
    "lastEdit": "2021-09-22T06:40:56.692Z",
    "scheduling": {
      "type": "indefinitely",
      "interval": 900
    },
    "iswaiting": false,
    "dlqCount": 0,
    "allDlqCount": 0,
    "createdByUser": {
      "id": 985,
      "name": "John Doe",
      "email": "j.doe@example.com"
    },
    "updatedByUser": {
      "id": 986,
      "name": "John Foo",
      "email": "j.foo@example.com"
    },
    "nextExec": "2021-09-22T06:41:56.692Z",
    "created": "2021-10-22T06:41:56.692Z",
    "type": "scenario",
    "chainingRole": null,
    "isShared": false
  },
  "scenarioVersion": {
    "scenarioId": 925,
    "version": 13,
    "draft": false
  }
}

Get trigger details

get
/scenarios/{scenarioId}/triggers

Retrieves properties of a trigger included in a scenario with a given ID. A trigger is a module that is able to return bundles that were newly added or updated (depending on the settings) since the last run of the scenario. An example of a trigger is a hook.

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
scenarioIdintegerRequired

The ID of the scenario. You can get the scenarioId with the List scenarios API call.

Example: 112
Responses
200

Successful response

application/json
idintegerOptional
namestringOptional
udidstringOptional
scopestringOptional
queueCountintegerOptional
queueLimitintegerOptional
typeNamestringOptional
typestringOptional
urlstring · uriOptional
flagsobjectOptional
get/scenarios/{scenarioId}/triggers
GET /api/v2/scenarios/{scenarioId}/triggers HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
200

Successful response

{
  "id": 9765,
  "name": "WH1",
  "udid": "e7cq6zty4qcnq7fb83kzcdsgqniqtd5c",
  "scope": "hook",
  "queueCount": 0,
  "queueLimit": 100000,
  "typeName": "gateway-webhook",
  "type": "web",
  "flags": {},
  "url": "https://hook.make.com/e7cq6zty4qcnq7fb83kzcdsgqniqtd5c"
}

Clone scenario

post
/scenarios/{scenarioId}/clone

Clones the specified scenario. The response contains all information about the scenario clone.

You have to know which app integrations the scenario contains. You can get a list of apps used in the scenario with the API call GET /scenarios/{scenarioId} in the usedPackages array.

If you are cloning the scenario to a different team and the scenario contains an app module, webhook or data store, you have to either:

  • map the entity ID to a different entity with the correct properties. For example, you can map an app module connection to a different connection of the same app with the same scopes, or

  • use the notAnalyze query parameter to turn off the scenario clone blueprint analysis.

When you turn off the scenario blueprint analysis you can map the entity ID to the null value, which omits the entity settings.

The scenario blueprint analysis makes sure that the scenario clone will work without further changes. If you turn off the scenario blueprint analysis, check the configuration of all entities in the scenario clone.

If you are cloning the scenario to a different team and the scenario contains a custom app or a custom function, which is not available for the users in the team, use the confirmed query parameter to confirm cloning of the scenario. Otherwise, you get an error listing the custom function that you have to create in the team.

Refer to the request body parameters description and examples for more information.

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
scenarioIdintegerRequired

The ID of the scenario. You can get the scenarioId with the List scenarios API call.

Example: 112
Query parameters
organizationIdintegerRequired

The ID of the organization.

Example: 11
confirmedbooleanOptional

If the scenario contains a custom app or a custom function, that is not available in the team, you have to set the confirmed parameter to true to clone the scenario. Otherwise you get an error and the scenario is not cloned.

Example: {"value":true}
notAnalyzebooleanOptional

If you are cloning a scenario to a different team, you have to map the scenario entities (connections, data stores, webhooks, ...) from the original to the clone. If you cannot map all of the scenario entities, set the notAnalyze parameter to true to suppress the scenario blueprint analysis.

Example: {"value":true}
Body
namestringRequired

The name for the scenario clone. The maximum length of the name is 120 characters.

teamIdintegerRequired

The ID of the team to which you want to clone the scenario.

statesbooleanRequired

Set to true to clone also states of the scenario modules, for example last scenario trigger execution. Setting to false resets the state information of the scenario modules in the scenario clone.

Responses
200

Successful response

application/json
post/scenarios/{scenarioId}/clone
POST /api/v2/scenarios/{scenarioId}/clone?organizationId=1 HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 199

{
  "name": "Scenario clone",
  "teamId": 20030,
  "states": true,
  "account": {
    "4400": 5564,
    "5500": 7542
  },
  "key": {
    "4383": 465
  },
  "hook": {
    "11899": 11900
  },
  "device": {
    "432": 116
  },
  "udt": {
    "4130": 5698
  },
  "datastore": {
    "3572": 4587
  }
}
{
  "id": 925,
  "name": "Scenario clone",
  "teamId": 20030,
  "hookId": 11900,
  "deviceId": 116,
  "deviceScope": null,
  "concept": false,
  "description": "",
  "folderId": null,
  "isinvalid": false,
  "isActive": false,
  "islinked": false,
  "islocked": false,
  "isPaused": false,
  "usedPackages": [
    "gateway",
    "airtable",
    "datastore",
    "google-sheets",
    "util"
  ],
  "lastEdit": "2021-09-22T06:40:56.692Z",
  "scheduling": {
    "type": "indefinitely",
    "interval": 900
  },
  "iswaiting": false,
  "dlqCount": 0,
  "createdByUser": {
    "id": 985,
    "name": "John Doe",
    "email": "j.doe@example.com"
  },
  "updatedByUser": {
    "id": 986,
    "name": "John Foo",
    "email": "j.foo@example.com"
  },
  "nextExec": "2021-09-22T06:41:56.692Z"
}

Restore scenario from trash

post
/scenarios/{scenarioId}/restore

Restores a soft-deleted ("trashed") scenario with the given ID back to active, as long as it is still within the 30-day recovery window. The scenario's runnable state (apps, connections, modules, webhook wiring) is re-derived best-effort from its surviving blueprint; if the blueprint references something deleted while the scenario sat in trash, the restore still succeeds and the scenario is flagged with containsErrors so it can be fixed by editing.

Locked connections and keys the restoring user is not allowed to use are cleared from the restored blueprint rather than blocking the restore: those modules come back with no connection selected, and the scenario is flagged with containsErrors because it cannot run until someone selects one. Every module cleared this way is listed in strippedModules so the caller can tell the user which modules need a new connection; the list is empty when nothing was cleared.

Requires the scenario edit permission. Only a scenario that is currently in trash can be restored — an already-active one is rejected with 404, as is a scenario beyond the 30-day window.

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
scenarioIdintegerRequired

The ID of the scenario. You can get the scenarioId with the List scenarios API call.

Example: 112
Responses
200

Scenario restored successfully

application/json
post/scenarios/{scenarioId}/restore
POST /api/v2/scenarios/{scenarioId}/restore HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
{
  "scenario": {
    "id": 1399,
    "deleted": false,
    "deletedAt": null,
    "containsErrors": false
  },
  "strippedModules": []
}

Check module data

get
/scenarios/{scenarioId}/data/{moduleId}

Verifies whether the module data is set or not. This endpoint doesn't retrieve the module data.

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
scenarioIdintegerRequired

The ID of the scenario. You can get the scenarioId with the List scenarios API call.

Example: 112
moduleIdintegerRequired

The unique ID of the scenario module. It is available in the scenario blueprint that can be retrieved from the Get scenario blueprint endpoint.

Example: 1
Responses
200

Successful response

application/json
existsbooleanOptional
get/scenarios/{scenarioId}/data/{moduleId}
GET /api/v2/scenarios/{scenarioId}/data/{moduleId} HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
200

Successful response

{
  "exists": true
}

Activate scenario

post
/scenarios/{scenarioId}/start

Activates the specified scenario. Also runs the scenario if the scenario is scheduled to run at regular intervals. Read more about scenario scheduling.

The API call response contains the scenario ID and the scenario isActive property set to true.

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
scenarioIdintegerRequired

The ID of the scenario. You can get the scenarioId with the List scenarios API call.

Example: 112
Responses
200

Successful response

application/json
post/scenarios/{scenarioId}/start
POST /api/v2/scenarios/{scenarioId}/start HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
200

Successful response

{
  "scenario": {
    "id": 5,
    "isActive": true,
    "islinked": true
  }
}

Deactivate scenario

post
/scenarios/{scenarioId}/stop

Deactivates and stops the specified scenario if the scenario is running. The API call response contains the scenario ID and the scenario isActive property set to false.

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
scenarioIdintegerRequired

The ID of the scenario. You can get the scenarioId with the List scenarios API call.

Example: 112
Responses
200

Successful response

application/json
post/scenarios/{scenarioId}/stop
POST /api/v2/scenarios/{scenarioId}/stop HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
200

Successful response

{
  "scenario": {
    "id": 5,
    "isActive": false,
    "islinked": false
  }
}

Run a scenario

post
/scenarios/{scenarioId}/run

Runs the specified scenario. The scenario has to be active. If your scenario has required scenario inputs you have to provide the scenario inputs in the request body. If the scenario provides scenario outputs, these are returned in the response.

The scenario is not run when its organization or team is paused because an operations or data transfer limit was exceeded. In that case the call returns 429 with the code IM310, the same way Make stops scheduling the organization's scenarios.

Note: Organization request limits do not apply for this endpoint.

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
scenarioIdintegerRequired

The ID of the scenario. Get the ID of the scenario with the API call GET /scenarios.

Example: 111
Body
dataobjectOptional

If your scenario has inputs specify the input parameters and values in the data object.

responsivebooleanOptional

If set to true the Make API waits until the scenario finishes. The response contains the scenario status and executionId. If the scenario execution takes longer than 40 seconds, the API call returns the time out error, but the scenario is still executed.

If set to false the API call returns immediately without waiting. The response contains only the executionId.

Default: false
callbackUrlstringOptional

Url that will be called once the scenario execution finishes. If the run is responsive and finishes within 40 seconds, the url is not called since the result is present in the response.

The callbackUrl will be called using a POST request with the following body:

{ "executionId": executionId, "statusUrl": "url to retrieve execution status and outputs via GET" }

Responses
200

Successful response

application/json
executionIdstringOptional

ID of the scenario execution.

statusstringOptional

Status of the scenario execution:

  • 1: success
  • 2: warning
  • 3: error.
post/scenarios/{scenarioId}/run
POST /api/v2/scenarios/{scenarioId}/run HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 163

{
  "data": {
    "Test input": "Test value",
    "My array": [
      "test 1",
      "test 2"
    ],
    "My collection": {
      "key": "value"
    }
  },
  "responsive": false,
  "callbackUrl": "https://example.com/callback"
}
{
  "executionId": "9c4874979d974c3ebdef1e8aaa7dc452"
}

Replay scenario executions

post
/scenarios/{scenarioId}/replay

Replays the specified executions of the scenario. Each replay creates a new execution that runs the latest version of the scenario with the data of the original execution. The scenario has to be active, and only executions marked as replayable can be replayed. To replay one execution you can also use POST /scenarios/{scenarioId}/executions/{executionId}/replay.

Up to 100 executions can be replayed in one call. The executions are processed one by one in the order of the request, so a call with many executions takes proportionally longer to respond. Executions that cannot be replayed (not found, not replayable, or belonging to another team) are skipped and listed in failed; the other executions are still queued. If the organization runs out of execution slots or the replay service becomes unavailable, the remaining executions are not attempted and are listed in failed with the same reason.

The call returns 202 as long as at least one execution was queued. If no execution was queued, the call fails with the error of the first execution, for example 422 when a single execution is not replayable. The response property executionId holds the ID of the first queued replay and is kept for backward compatibility; use replayed to map each original execution to its replay.

The scenario is not replayed when its organization or team is paused because an operations or data transfer limit was exceeded. In that case the call returns 429 with the code IM310.

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
scenarioIdintegerRequired

The ID of the scenario. Get the ID of the scenario with the API call GET /scenarios.

Example: 111
Body
executionIdsstring[] · min: 1 · max: 100Required

IDs of the executions to replay; unique IDs of executions of the same scenario, at most 100 per call. Get the IDs with the API call GET /scenarios/{scenarioId}/logs; only executions marked as replayable can be replayed.

Responses
202

202 Accepted - at least one execution was queued for replay

application/json
executionIdstringRequired

ID of the first replay execution that was queued. Kept for backward compatibility; use replayed to map every original execution to its replay.

post/scenarios/{scenarioId}/replay
POST /api/v2/scenarios/{scenarioId}/replay HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 53

{
  "executionIds": [
    "509f0457d2804ba7b115faf1637beea6"
  ]
}
{
  "executionId": "9c4874979d974c3ebdef1e8aaa7dc452",
  "replayed": [
    {
      "executionId": "509f0457d2804ba7b115faf1637beea6",
      "replayExecutionId": "9c4874979d974c3ebdef1e8aaa7dc452"
    }
  ],
  "failed": []
}

Get scenario interface

get
/scenarios/{scenarioId}/interface

Retrieves the scenario inputs and outputs specification for the specified scenario. Check out the scenario inputs and outputs documentation in the Make help center.The scenario inputs and outputs feature is available with all plans. Read more about Make pricing.

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
scenarioIdintegerRequired

The ID of the scenario. Get the list of scenarios with the API call GET /scenarios.

Example: 111
Responses
200

Successful response

application/json
get/scenarios/{scenarioId}/interface
GET /api/v2/scenarios/{scenarioId}/interface HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
200

Successful response

{
  "interface": {
    "input": [
      {
        "name": "email",
        "type": "text",
        "default": null,
        "required": false,
        "multiline": false
      }
    ],
    "output": null
  }
}

Update scenario interface

patch
/scenarios/{scenarioId}/interface

Updates specification of the scenario inputs. Check out the scenario inputs documentation in the Make help center.

If you want to enable the scenario inputs you have to set the scenario scheduling to "On demand" first, otherwise you get error 422 (IM016). You can use the API call:

PATCH /scenarios/{scenarioId}?confirmed=true

with the request body:

{"scheduling": "{\"type\":\"on-demand\"}"}

You can disable inputs for the specified scenario by sending a payload with an empty input array.

The response contains the updated scenario inputs specification.

The scenario inputs feature requires your account to have the pricing plan Pro or higher. Read more about Make pricing.

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
scenarioIdintegerRequired

The ID of the scenario. Get the list of scenarios with the API call GET /scenarios.

Example: 111
Body
Responses
200

Successful response

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

{
  "interface": {
    "input": [
      {
        "name": "userName",
        "type": "text",
        "default": "John Doe",
        "required": true,
        "multiline": false
      },
      {
        "name": "employeeID",
        "type": "number",
        "default": null,
        "required": false
      },
      {
        "name": "enabledApps_array",
        "spec": {
          "type": "text",
          "default": "Salesforce",
          "required": true,
          "multiline": false
        },
        "type": "array"
      },
      {
        "name": "myTestInput4_collection",
        "spec": [
          {
            "name": "accountName",
            "type": "text",
            "default": "John Doe",
            "required": true,
            "multiline": false
          },
          {
            "name": "accountID",
            "type": "number",
            "default": null,
            "required": true
          }
        ],
        "type": "collection"
      }
    ],
    "output": null
  }
}
200

Successful response

{
  "interface": {
    "input": [
      {
        "name": "userName",
        "type": "text",
        "default": "John Doe",
        "required": true,
        "multiline": false
      },
      {
        "name": "employeeID",
        "type": "number",
        "default": null,
        "required": false
      },
      {
        "name": "enabledApps_array",
        "spec": {
          "type": "text",
          "default": "Salesforce",
          "required": true,
          "multiline": false
        },
        "type": "array"
      },
      {
        "name": "myTestInput4_collection",
        "spec": [
          {
            "name": "accountName",
            "type": "text",
            "default": "John Doe",
            "required": true,
            "multiline": false
          },
          {
            "name": "accountID",
            "type": "number",
            "default": null,
            "required": true
          }
        ],
        "type": "collection"
      }
    ],
    "output": null
  }
}

Get scenario usage

get
/scenarios/{scenarioId}/usage

Retrieves a list of daily centicredits, operations, and data transfer usage for a specified scenario over the past 30 days.

By default, the endpoint uses the timezone of the user making the API call to define the start and end of each day in the 30-day timeframe.

To use the organization's timezone instead, set the organizationTimezone parameter to true. This ensures that the daily aggregates align with the organization's operational hours. This is especially useful for scenarios where aggregated data needs to align with the organization's operational hours.

For instance, a remote data analyst in India working for a Czech company can set organizationTimezone=true to ensure the usage data reflects the company's timezone, providing more relevant and accurate insights for organizational reporting and analysis.

For more information on timezones in Make, please refer to our Help Center article.

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
scenarioIdintegerRequired

The ID of the scenario. You can get the scenarioId with the List scenarios API call.

Example: 112
Query parameters
organizationTimezonebooleanOptional

When set to true, the endpoint will calculate and return usage data based on the organization's timezone instead of the user's local timezone.

Example: true
Responses
200

Successfully retrieved usage data

application/json
get/scenarios/{scenarioId}/usage
GET /api/v2/scenarios/{scenarioId}/usage HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
200

Successfully retrieved usage data

{
  "data": [
    {
      "date": "2024-05-30",
      "operations": 9,
      "dataTransfer": 135,
      "centicredits": 900
    },
    {
      "date": "2024-05-31",
      "operations": 15,
      "dataTransfer": 157,
      "centicredits": 1500
    }
  ]
}

List buildtime variables

get
/scenarios/{scenarioId}/build-variables

Retrieves buildtime variables of a scenario with the given ID. Buildtime variables could be team or user defined, team defined ones are prefixed with a TAC_ and user defined variables are prefixed with a PAC_. TAC_s can be used within the scenario as per its input spec by the entire team, whereas PAC_s can only be used within the scenario by the user who added 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.

Path parameters
scenarioIdintegerRequired

The ID of the scenario. You can get the scenarioId with the List scenarios API call.

Example: 112
Responses
200

Successful response

application/json
variablesobjectOptional
get/scenarios/{scenarioId}/build-variables
GET /api/v2/scenarios/{scenarioId}/build-variables HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
200

Successful response

{
  "variables": {
    "input": {
      "myPersonalConn1": "PAC_123455551",
      "ourTeamConn1": "TAC_11112222"
    }
  }
}

Add new buildtime variables to scenario metadata

post
/scenarios/{scenarioId}/build-variables

Adds new buildtime team or user defined variable/s. Buildtime variables should be prefixed either with a TAC_ (for team defined variables) or with a PAC_ (for personal user defined variables), followed by the connection value. If a variable already exists, an error will be thrown. If a variable's name is not within scenario input specification, an error will be thrown. If the adding of new variables was successful the reponse would be OK.

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
scenarioIdintegerRequired

The ID of the scenario. You can get the scenarioId with the List scenarios API call.

Example: 112
Body
Responses
200

Buildtime variables added successfully

application/json
okintegerOptional
post/scenarios/{scenarioId}/build-variables
POST /api/v2/scenarios/{scenarioId}/build-variables HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 62

{
  "input": [
    {
      "name": "myPersonalConn1",
      "value": "PAC_123455552"
    }
  ]
}
{
  "ok": 1
}

Update buildtime variables in scenario metadata

put
/scenarios/{scenarioId}/build-variables

Updates team or user defined buildtime variable/s. The endpoint updates and overwrites exsiting records with the newly provided values, meaning any existing buildtime variable which is not provided through the payload will be overwritten. Buildtime variables should be prefixed either with a TAC_ (for team defined variables) or with a PAC_ (for personal user defined variables), followed by the connection value. If a variable doesn't exist, it will be added provided that its name is within the scenario input specification. If the updating of variables was successful the reponse would be OK.

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
scenarioIdintegerRequired

The ID of the scenario. You can get the scenarioId with the List scenarios API call.

Example: 112
Body
Responses
200

Buildtime variables updated successfully

application/json
okintegerOptional
put/scenarios/{scenarioId}/build-variables
PUT /api/v2/scenarios/{scenarioId}/build-variables HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 109

{
  "input": [
    {
      "name": "myPersonalConn1",
      "value": "PAC_123455552"
    },
    {
      "name": "ourTeamConn1",
      "value": "TAC_11112222"
    }
  ]
}
{
  "ok": 1
}

Delete buildtime variable

delete
/scenarios/{scenarioId}/build-variables

Deletes a buildtime variable with a given value for a scenario with a given ID and returns OK in the response.

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
scenarioIdintegerRequired

The ID of the scenario. You can get the scenarioId with the List scenarios API call.

Example: 112
Query parameters
valuestringRequired

The value of the buildtime variable

Example: PAC_123455551
Responses
200

Buildtime variable deleted successfully

application/json
okintegerOptional
delete/scenarios/{scenarioId}/build-variables
DELETE /api/v2/scenarios/{scenarioId}/build-variables?value=text HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
200

Buildtime variable deleted successfully

{
  "ok": 1
}

List AI agent scenarios

get
/scenarios/ai-agents

Retrieves scenarios that contain at least one AI agent module for the specified team. Results are sorted by last edit date in descending order.

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

The unique ID of the team whose scenarios folders will be retrieved.

Example: 1
pg[offset]integerOptional

The number of entities you want to skip before getting entities you want.

pg[limit]integerOptional

The maximum number of entities you want to get in the response.

Responses
200

Retrieved AI agent scenarios

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

Retrieved AI agent scenarios

{
  "scenarios": [
    {
      "id": 42,
      "name": "My AI Agent Scenario",
      "description": "A scenario that uses AI agents.",
      "isActive": true,
      "teamId": 5,
      "created": "2026-01-01T00:00:00.000Z",
      "lastEdit": "2026-01-01T00:00:00.000Z",
      "scheduling": {},
      "usedPackages": [
        "ai-local-agent",
        "http"
      ],
      "agentCount": 2,
      "createdByUser": {
        "id": 1,
        "name": "John Doe",
        "email": "john@example.com"
      }
    }
  ],
  "pg": {
    "limit": 1,
    "offset": 1
  }
}

Get AI agent module details for scenarios

post
/scenarios/ai-agents/modules

Retrieves local AI agent module and tool details for scenarios belonging to the specified team. The underlying query recursively walks each scenario's blueprint and is expensive, so requests are hard-capped at 100 scenarios.

Provide scenarioIds in the request body to look up specific scenarios - all of them must belong to teamId, or the request fails with a 403. Omit scenarioIds to page through the team's own AI agent scenarios instead, using pg[limit]/pg[offset] (same scenarios and ordering as GET /scenarios/ai-agents); the response then also includes a pg object so you can request the next page. pg parameters are ignored when scenarioIds is provided.

Agents are found anywhere in a scenario's flow, including inside routes, branches, error handlers, notification flows, and as another agent's own tool. Agents on disabled routes, branches, tools, or notifications are not included.

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

The unique ID of the team whose scenarios folders will be retrieved.

Example: 1
pg[offset]integerOptional

The number of entities you want to skip before getting entities you want.

pg[limit]integerOptional

The maximum number of entities you want to get in the response.

Body
scenarioIdsinteger[] · min: 1 · max: 100Optional

The scenario IDs to retrieve agent module details for. All must belong to teamId. Omit this field to page through the team's AI agent scenarios instead.

Example: [42,43]
Responses
200

Retrieved AI agent module details

application/json
post/scenarios/ai-agents/modules
POST /api/v2/scenarios/ai-agents/modules?teamId=1 HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Content-Type: application/json
Accept: */*
Content-Length: 23

{
  "scenarioIds": [
    42,
    43
  ]
}
{
  "agentModules": [
    {
      "scenarioId": 42,
      "id": 3,
      "module": "ai-local-agent:RunLocalAIAgent",
      "userLabel": "Support Agent",
      "evaluationMode": "measured",
      "tools": [
        {
          "moduleId": 4,
          "module": "knowledge:KnowledgeStandAlone",
          "name": "Product Docs",
          "fileIds": [
            "5f8a1c2b-1234-4a5b-8c9d-0e1f2a3b4c5d"
          ]
        }
      ]
    }
  ]
}

Last updated