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.
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.
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.
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.
1The 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.
11The array of IDs of scenarios to retrieve.
[1,2,3]The unique ID of the folder containing scenarios you want to retrieve. By default, only scenarios directly assigned to this folder are returned.
1When set to true with folderId, also returns scenarios assigned to descendant folders up to the scenario folder nesting limit.
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.
[1,2]Set this parameter to true to get only active scenarios in the response.
trueThis parameter is deprecated. Use the isActive parameter to filter for active scenarios instead.
trueIf set to true, the response contains only scenario concepts.
trueLimits the type of scenarios to be retrieved.
scenarioPossible values: 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.
trueFilters scenarios by name using a case-insensitive substring match.
My scenarioSearches 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.
{"value":"925"}Set to true to return only invalid scenarios (those whose blueprint failed validation), or false to return only valid ones.
trueSet to true to return only locked scenarios, or false to return only unlocked ones.
trueFilters scenarios by the name of the user who created them.
John DoeFilters scenarios by the name of the user who last updated them.
John DoeFilters scenarios by their number of unresolved incomplete executions.
0The number of entities you want to skip before getting entities you want.
The maximum number of entities you want to get in the response.
The value that will be used to sort returned entities by.
proprietalPossible values: The sorting order. It accepts the ascending and descending direction specifiers.
Retrieved scenarios
GET /api/v2/scenarios?teamId=1 HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
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
}
}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.
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.
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.
trueThe scenario blueprint. To save resources, the blueprint is sent as a string, not as an object.
The unique ID of the team in which the scenario will be created.
The scenario scheduling details. To save resources, the scheduling details are sent as a string, not as an object.
The unique ID of the folder in which you want to store created scenario.
Defines if the scenario is created based on a template. The value is the template ID.
A description of the scenario.
Scenario created successfully
An input_spec entry defaults to a locked connection or key (IM022). A locked entity is not supported as a dynamic connection in this version, for every caller — select the connection in the module instead. Returned only when locked-entities enforcement is enabled for the organization.
A module in the blueprint places a locked connection or key the user is not allowed to use (IM002, placement guard). Returned only when locked-entities enforcement is enabled for the organization; an untouched frozen module and releasing a locked entity (swapping it out or removing its module) always pass.
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
}
}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.
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.
The unique ID of the team whose trashed scenarios will be counted.
1The number of scenarios currently in the trash.
GET /api/v2/scenarios/trash/count?teamId=1 HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
The number of scenarios currently in the trash.
{
"scenariosTrashedTotal": 3
}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.
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.
The team every listed scenario must belong to.
Ids of the scenarios to move to trash. Larger selections must be sent in several requests.
The request was processed; inspect rejectedScenarios and summary for per-id results.
Ids that were moved to trash by this request.
The body is invalid (SC400: missing team, empty or duplicate ids, more than 1,000 ids; unknown properties are ignored), or scenario trash is not enabled on this environment (IM903, returned while the is_scenarios_trash_enabled feature flag is off).
Authentication failed or the token lacks scenarios:write (IM001).
The user does not have the scenario delete permission on the team (IM002).
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
}
}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.
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.
The ID of the scenario. You can get the scenarioId with the List scenarios API call.
112Successful response
GET /api/v2/scenarios/{scenarioId} HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
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
}
}Deletes a scenario with a given ID and returns the ID in the response.
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.
The ID of the scenario. You can get the scenarioId with the List scenarios API call.
112Scenario deleted successfully
DELETE /api/v2/scenarios/{scenarioId} HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
Scenario deleted successfully
{
"scenario": 1399
}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.
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.
The ID of the scenario. You can get the scenarioId with the List scenarios API call.
112If 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.
trueThe scenario blueprint. To save resources, the blueprint is sent as a string, not as an object.
The scenario scheduling details. To save resources, the scheduling details are sent as a string, not as an object.
The unique ID of the folder to which you want to move the scenario. Set to null to remove its folder assignment.
A new name of the scenario. The name does not need to be unique.
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.
Scenario was updated successfully
An input_spec entry defaults to a locked connection or key (IM022). A locked entity is not supported as a dynamic connection in this version, for every caller — select the connection in the module instead. Returned only when locked-entities enforcement is enabled for the organization.
A module in the blueprint places a locked connection or key the user is not allowed to use (IM002, placement guard). Returned only when locked-entities enforcement is enabled for the organization; an untouched frozen module and releasing a locked entity (swapping it out or removing its module) always pass.
SC409 — the save was not applied. Either the request carried baseVersion and the scenario has a newer version (saved by another client such as the Make MCP server, or another editor session); the response metadata then contains reason: scenario_version_conflict, baseVersion, currentVersion, lastEdit and lastEditedBy ({ id, name, email } or null) so the client can reload the current blueprint or retry without baseVersion to overwrite. Or the scenario was modified concurrently between the placement-guard check and the save; retry the request.
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
}
}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.
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.
The ID of the scenario. You can get the scenarioId with the List scenarios API call.
112Successful response
GET /api/v2/scenarios/{scenarioId}/triggers HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
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"
}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
notAnalyzequery 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.
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.
The ID of the scenario. You can get the scenarioId with the List scenarios API call.
112The ID of the organization.
11If 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.
{"value":true}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.
{"value":true}The name for the scenario clone. The maximum length of the name is 120 characters.
The ID of the team to which you want to clone the scenario.
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.
Successful response
One of:
IM022— a remapped connection or key is locked in the source team and the request leaves its replacement empty, so the clone would duplicate the locked credential. Copying a locked connection or key is never supported, in any target team including the source team, and is not gated by the locked-entities enforcement flag; pass the ID of an existing connection or key in the target team instead.SC400Missing value of required parameter— the clone form marks the remap entry of a locked connection or keyrequired(as it already does for an OAuth connection) and the request body omits it.IM022— the source scenario'sinput_specdefaults to a locked connection or key, whichscenario_duplicatecopies verbatim into the clone. A locked entity is not supported as a dynamic connection in this version, for every caller — select the connection in the module instead. Returned only when locked-entities enforcement is enabled for the organization.
The copy would keep (or remap to) a locked connection or key the user is not allowed to use in the target team (IM002, placement guard). Returned only when locked-entities enforcement is enabled for the organization; remapping the reference to a usable connection or key passes.
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"
}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.
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.
The ID of the scenario. You can get the scenarioId with the List scenarios API call.
112Scenario restored successfully
scenarioId is not a positive integer (SC400, the message names the offending path parameter), or scenario trash is not enabled on this environment (IM903, returned while the is_scenarios_trash_enabled feature flag is off). Also returned for a scenario whose team holds locked connections or keys when the structure of its stored blueprint cannot be parsed (IM007), because which locked entities it places — and therefore which of them must be cleared — cannot be determined. The scenario stays in trash. An individual connection or key parameter the blueprint grammar rejects does not fail the restore: it can place no entity, so it is left as it is and the restore continues.
The user does not have the scenario edit permission for this scenario (IM002). Also returned when a locked connection or key the user may not use could not be cleared from the blueprint (IM002) — the scenario stays in trash.
The scenario does not exist, is not in trash, or is beyond the 30-day restore window (IM301). Restoring a scenario that is already active is rejected rather than answered with its current state — there is nothing to restore, so a repeated or double-submitted restore lands here, as does the loser of two concurrent restores.
The scenario was modified concurrently between the placement-guard check and the restore (SC409). Nothing was restored; retry the request. Returned only when locked-entities enforcement is enabled for the organization, since only then is the restore serialised against other writes to the scenario.
Whether the user may use the locked connections and keys the blueprint references could not be determined (IM016). The scenario stays in trash — retry the 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": []
}Verifies whether the module data is set or not. This endpoint doesn't retrieve the module data.
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.
The ID of the scenario. You can get the scenarioId with the List scenarios API call.
112The unique ID of the scenario module. It is available in the scenario blueprint that can be retrieved from the Get scenario blueprint endpoint.
1Successful response
GET /api/v2/scenarios/{scenarioId}/data/{moduleId} HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
Successful response
{
"exists": true
}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.
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.
The ID of the scenario. You can get the scenarioId with the List scenarios API call.
112Successful response
POST /api/v2/scenarios/{scenarioId}/start HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
Successful response
{
"scenario": {
"id": 5,
"isActive": true,
"islinked": true
}
}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.
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.
The ID of the scenario. You can get the scenarioId with the List scenarios API call.
112Successful response
POST /api/v2/scenarios/{scenarioId}/stop HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
Successful response
{
"scenario": {
"id": 5,
"isActive": false,
"islinked": false
}
}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.
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.
The ID of the scenario. Get the ID of the scenario with the API call GET /scenarios.
111If your scenario has inputs specify the input parameters and values in the data object.
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.
falseUrl 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"
}
Successful response
ID of the scenario execution.
Status of the scenario execution:
1: success2: warning3: error.
The scenario's organization or team is paused because an operations or data transfer limit was exceeded, so no execution was started.
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"
}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.
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.
The ID of the scenario. Get the ID of the scenario with the API call GET /scenarios.
111IDs 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.
202 Accepted - at least one execution was queued for replay
ID of the first replay execution that was queued. Kept for backward compatibility; use replayed to map every original execution to its replay.
400 Bad Request - invalid request body, for example an empty list, more than 100 IDs, duplicate IDs or a malformed ID (IM005)
403 Forbidden - no execution was queued and the first one belongs to another team (SC403)
404 Not Found - no execution was queued and the first one was not found (SC404)
422 Unprocessable Entity - the organization or team is paused, or no execution was queued and the first one is not replayable (SC422)
429 Too Many Requests - the organization or team is paused because a limit was exceeded (IM310), or no execution slot was available (SC429)
503 Service Unavailable - execution replays are temporarily unavailable (SC503)
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": []
}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.
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.
The ID of the scenario. Get the list of scenarios with the API call GET /scenarios.
111Successful response
GET /api/v2/scenarios/{scenarioId}/interface HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
Successful response
{
"interface": {
"input": [
{
"name": "email",
"type": "text",
"default": null,
"required": false,
"multiline": false
}
],
"output": null
}
}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.
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.
The ID of the scenario. Get the list of scenarios with the API call GET /scenarios.
111Successful response
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
}
}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
}
}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.
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.
The ID of the scenario. You can get the scenarioId with the List scenarios API call.
112When set to true, the endpoint will calculate and return usage data based on the organization's timezone instead of the user's local timezone.
trueSuccessfully retrieved usage data
GET /api/v2/scenarios/{scenarioId}/usage HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
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
}
]
}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.
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.
The ID of the scenario. You can get the scenarioId with the List scenarios API call.
112Successful response
GET /api/v2/scenarios/{scenarioId}/build-variables HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
Successful response
{
"variables": {
"input": {
"myPersonalConn1": "PAC_123455551",
"ourTeamConn1": "TAC_11112222"
}
}
}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.
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.
The ID of the scenario. You can get the scenarioId with the List scenarios API call.
112Buildtime variables added successfully
A team variable names a locked connection (IM022). A locked entity is not supported as a dynamic connection in this version, for every caller — select the connection in the module instead. Returned only when locked-entities enforcement is enabled for the organization, and only for a connection the scenario does not already use as a team variable under some name.
Validation against the scenario input specification failed (IM016). Either a submitted value does not match the type declared for the variable (the response names the variable, its declared type and the JSON type of the submitted value; the value itself is not echoed back), or the stored input specification is malformed, for example an entry or a nested element specification without a name or type (the response carries the rejected specification fragment).
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
}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.
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.
The ID of the scenario. You can get the scenarioId with the List scenarios API call.
112Buildtime variables updated successfully
A team variable names a locked connection (IM022). A locked entity is not supported as a dynamic connection in this version, for every caller — select the connection in the module instead. Returned only when locked-entities enforcement is enabled for the organization, and only for a connection the scenario does not already use as a team variable under some name — a payload that only keeps or removes existing values always passes.
Validation against the scenario input specification failed (IM016). Either a submitted value does not match the type declared for the variable (the response names the variable, its declared type and the JSON type of the submitted value; the value itself is not echoed back), or the stored input specification is malformed, for example an entry or a nested element specification without a name or type (the response carries the rejected specification fragment).
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
}Deletes a buildtime variable with a given value for a scenario with a given ID and returns OK in the response.
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.
The ID of the scenario. You can get the scenarioId with the List scenarios API call.
112The value of the buildtime variable
PAC_123455551Buildtime variable deleted successfully
DELETE /api/v2/scenarios/{scenarioId}/build-variables?value=text HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
Buildtime variable deleted successfully
{
"ok": 1
}Retrieves scenarios that contain at least one AI agent module for the specified team. Results are sorted by last edit date in descending order.
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.
The unique ID of the team whose scenarios folders will be retrieved.
1The number of entities you want to skip before getting entities you want.
The maximum number of entities you want to get in the response.
Retrieved AI agent scenarios
GET /api/v2/scenarios/ai-agents?teamId=1 HTTP/1.1
Host: eu1.make.com
Authorization: Token your-api-token
Accept: */*
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
}
}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.
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.
The unique ID of the team whose scenarios folders will be retrieved.
1The number of entities you want to skip before getting entities you want.
The maximum number of entities you want to get in the response.
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.
[42,43]Retrieved AI agent module details
Invalid input - e.g. more than 100 scenarioIds, or pg[limit] greater than 100.
One or more requested scenarioIds do not belong to teamId, or the caller lacks permission for the team.
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

