> For the complete documentation index, see [llms.txt](https://developers.make.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.make.com/api-documentation/api-reference/scenarios-shared.md).

# Scenarios Shared

## List shared scenarios

> Returns a paginated list of shared scenarios for a specified organization or team.\
> Supports filtering by title, scenario name, and folder ID.\
> \
> \*\*Note\*\*: Either \`organizationId\` or \`teamId\` must be provided, but not both.<br>

```json
{"openapi":"3.0.0","info":{"title":"Web API v2 - Public ","version":"1.0.0"},"tags":[],"servers":[{"url":"https://eu1.make.com/api/v2","description":"EU1 production zone"},{"url":"https://eu2.make.com/api/v2","description":"EU2 production zone"},{"url":"https://us1.make.com/api/v2","description":"US1 production zone"},{"url":"https://us2.make.com/api/v2","description":"US2 production zone"},{"url":"https://eu1.make.celonis.com/api/v2","description":"Celonis EU1 production zone"},{"url":"https://us1.make.celonis.com/api/v2","description":"Celonis US1 production zone"}],"security":[{"token":["scenarios-shared:read"]}],"components":{"securitySchemes":{"token":{"type":"apiKey","name":"Authorization","in":"header","description":"Authorize the API call with your API token in the `Authorization` header with the value: `Token your-api-token`.\n\nIf you don't have an API token yet, please refer to the [\"Authentication\" section](/api-documentation/authentication) to learn how to create one.\n"}}},"paths":{"/scenarios-shared":{"get":{"operationId":"getScenarioSharesList","tags":["Scenarios shared"],"summary":"List shared scenarios","description":"Returns a paginated list of shared scenarios for a specified organization or team.\nSupports filtering by title, scenario name, and folder ID.\n\n**Note**: Either `organizationId` or `teamId` must be provided, but not both.\n","parameters":[{"name":"organizationId","in":"query","schema":{"type":"integer","minimum":1},"description":"The ID of the organization. Mutually exclusive with `teamId`."},{"name":"teamId","in":"query","schema":{"type":"integer","minimum":1},"description":"The ID of the team. Mutually exclusive with `organizationId`."},{"name":"folderId","in":"query","schema":{"type":"integer","minimum":1},"description":"Filter results by folder ID."},{"name":"title","in":"query","schema":{"type":"string","minLength":1,"maxLength":255},"description":"Filter results by shared scenario title (case-insensitive partial match)."},{"name":"scenarioName","in":"query","schema":{"type":"string","minLength":1,"maxLength":255},"description":"Filter results by the original scenario name (case-insensitive partial match)."},{"name":"scenarioIds","in":"query","schema":{"type":"array","items":{"type":"integer","minimum":1}},"description":"Filter results by multiple scenario IDs. Accepts an array of scenario IDs to match.","style":"form","explode":true},{"name":"pg[limit]","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"description":"Number of results per page."},{"name":"pg[offset]","in":"query","schema":{"type":"integer","minimum":0,"default":0},"description":"Number of results to skip (for pagination)."},{"name":"pg[sortBy]","in":"query","schema":{"type":"string","enum":["id","title","createdAt","updated"],"default":"id"},"description":"Column to sort results by."},{"name":"pg[sortDir]","in":"query","schema":{"type":"string","enum":["asc","desc"],"default":"desc"},"description":"Sort direction (ascending or descending)."},{"name":"pg[returnTotalCount]","in":"query","schema":{"type":"boolean","default":false},"description":"Whether to return the total count of matching records."}],"responses":{"200":{"description":"Successful response with paginated list of shared scenarios","content":{"application/json":{"schema":{"type":"object","properties":{"scenariosShared":{"type":"array","description":"Array of shared scenarios","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the shared scenario"},"scenarioId":{"type":"integer","description":"ID of the original scenario"},"title":{"type":"string","description":"Title of the shared scenario"},"scenarioName":{"type":"string","description":"Name of the original scenario"},"descriptionShort":{"type":"string","nullable":true,"description":"Short description of the shared scenario"},"scenarioUsedPackages":{"type":"array","description":"List of packages/modules used in the scenario","items":{"type":"string"}},"shareUrl":{"type":"string","description":"Public URL for accessing the shared scenario"},"createdAt":{"type":"string","format":"date-time","description":"Timestamp when the shared scenario was created"},"updated":{"type":"string","format":"date-time","description":"Timestamp when the shared scenario was last updated"}}}},"pg":{"type":"object","description":"Pagination metadata","properties":{"limit":{"type":"integer","description":"Number of results per page"},"offset":{"type":"integer","description":"Number of results skipped"},"sortBy":{"type":"string","description":"Column used for sorting"},"sortDir":{"type":"string","enum":["asc","desc"],"description":"Sort direction"},"returnTotalCount":{"type":"boolean","description":"Whether total count was requested"},"totalCount":{"type":"integer","description":"Total count of matching records (only present if returnTotalCount is true)"}}}}}}}},"400":{"description":"Bad request - invalid parameters (e.g., both organizationId and teamId provided, or neither)","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"401":{"description":"Unauthorized - missing or invalid authentication token","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"403":{"description":"Forbidden - insufficient permissions for the specified organization or team","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}}}}}}}
```

## List shared scenarios for scenario

> Returns all shares created for the specified scenario.

```json
{"openapi":"3.0.0","info":{"title":"Web API v2 - Public ","version":"1.0.0"},"tags":[],"servers":[{"url":"https://eu1.make.com/api/v2","description":"EU1 production zone"},{"url":"https://eu2.make.com/api/v2","description":"EU2 production zone"},{"url":"https://us1.make.com/api/v2","description":"US1 production zone"},{"url":"https://us2.make.com/api/v2","description":"US2 production zone"},{"url":"https://eu1.make.celonis.com/api/v2","description":"Celonis EU1 production zone"},{"url":"https://us1.make.celonis.com/api/v2","description":"Celonis US1 production zone"}],"security":[{"token":["scenarios-shared:read"]}],"components":{"securitySchemes":{"token":{"type":"apiKey","name":"Authorization","in":"header","description":"Authorize the API call with your API token in the `Authorization` header with the value: `Token your-api-token`.\n\nIf you don't have an API token yet, please refer to the [\"Authentication\" section](/api-documentation/authentication) to learn how to create one.\n"}}},"paths":{"/scenarios-shared/{scenarioId}":{"get":{"tags":["Scenarios shared"],"summary":"List shared scenarios for scenario","description":"Returns all shares created for the specified scenario.","parameters":[{"description":"The ID of the scenario. You can get the `scenarioId` with the [List scenarios](/api-reference/scenarios/get--scenarios.md) API call.","name":"scenarioId","in":"path","schema":{"type":"integer"},"required":true}],"responses":{"200":{"description":"List of scenario shares","content":{"application/json":{"schema":{"type":"object","properties":{"scenariosShared":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"scenarioId":{"type":"integer"},"title":{"type":"string"},"titleOriginal":{"type":"string"},"descriptionShort":{"type":"string","nullable":true},"descriptionLong":{"type":"string","nullable":true},"thumbnailUrl":{"type":"string","nullable":true},"shareUrl":{"type":"string"},"shareUrlCardinal":{"type":"string"},"isEnabled":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updated":{"type":"string","format":"date-time"}}}}}}}}}}}}}}
```

## Create scenario share

> Creates a share of the specified scenario.

```json
{"openapi":"3.0.0","info":{"title":"Web API v2 - Public ","version":"1.0.0"},"tags":[],"servers":[{"url":"https://eu1.make.com/api/v2","description":"EU1 production zone"},{"url":"https://eu2.make.com/api/v2","description":"EU2 production zone"},{"url":"https://us1.make.com/api/v2","description":"US1 production zone"},{"url":"https://us2.make.com/api/v2","description":"US2 production zone"},{"url":"https://eu1.make.celonis.com/api/v2","description":"Celonis EU1 production zone"},{"url":"https://us1.make.celonis.com/api/v2","description":"Celonis US1 production zone"}],"security":[{"token":["scenarios-shared:write","scenarios:read"]}],"components":{"securitySchemes":{"token":{"type":"apiKey","name":"Authorization","in":"header","description":"Authorize the API call with your API token in the `Authorization` header with the value: `Token your-api-token`.\n\nIf you don't have an API token yet, please refer to the [\"Authentication\" section](/api-documentation/authentication) to learn how to create one.\n"}}},"paths":{"/scenarios-shared/{scenarioId}":{"post":{"tags":["Scenarios shared"],"summary":"Create scenario share","description":"Creates a share of the specified scenario.","parameters":[{"description":"The ID of the scenario. You can get the `scenarioId` with the [List scenarios](/api-reference/scenarios/get--scenarios.md) API call.","name":"scenarioId","in":"path","schema":{"type":"integer"},"required":true}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":40},"descriptionShort":{"type":"string","maxLength":260,"nullable":true},"descriptionLong":{"type":"string","maxLength":2000,"nullable":true},"isEnabled":{"type":"boolean","default":false}},"required":["title"]}}}},"responses":{"200":{"description":"Shared scenario created","content":{"application/json":{"schema":{"type":"object","properties":{"scenarioShared":{"type":"object","properties":{"id":{"type":"string"},"scenarioId":{"type":"integer"}}}}}}}}}}}}}
```

## Get shared scenario

> Get shared scenario detail by ID.

```json
{"openapi":"3.0.0","info":{"title":"Web API v2 - Public ","version":"1.0.0"},"tags":[],"servers":[{"url":"https://eu1.make.com/api/v2","description":"EU1 production zone"},{"url":"https://eu2.make.com/api/v2","description":"EU2 production zone"},{"url":"https://us1.make.com/api/v2","description":"US1 production zone"},{"url":"https://us2.make.com/api/v2","description":"US2 production zone"},{"url":"https://eu1.make.celonis.com/api/v2","description":"Celonis EU1 production zone"},{"url":"https://us1.make.celonis.com/api/v2","description":"Celonis US1 production zone"}],"security":[{"token":["scenarios-shared:read"]}],"components":{"securitySchemes":{"token":{"type":"apiKey","name":"Authorization","in":"header","description":"Authorize the API call with your API token in the `Authorization` header with the value: `Token your-api-token`.\n\nIf you don't have an API token yet, please refer to the [\"Authentication\" section](/api-documentation/authentication) to learn how to create one.\n"}}},"paths":{"/scenarios-shared/{scenarioId}/{sharedScenarioId}":{"get":{"tags":["Scenarios shared"],"summary":"Get shared scenario","description":"Get shared scenario detail by ID.","parameters":[{"description":"The ID of the scenario. You can get the `scenarioId` with the [List scenarios](/api-reference/scenarios/get--scenarios.md) API call.","name":"scenarioId","in":"path","schema":{"type":"integer"},"required":true},{"name":"sharedScenarioId","in":"path","schema":{"type":"string","minLength":11,"maxLength":11},"description":"Shared Scenario ID","required":true}],"responses":{"200":{"description":"Shared scenario detail","content":{"application/json":{"schema":{"type":"object","properties":{"scenarioShared":{"type":"object","properties":{"id":{"type":"string"},"scenarioId":{"type":"integer"},"authorId":{"type":"integer"},"isEnabled":{"type":"boolean"},"origin":{"type":"string","nullable":true},"titleOriginal":{"type":"string"},"title":{"type":"string"},"descriptionShort":{"type":"string","nullable":true},"descriptionLong":{"type":"string","nullable":true},"thumbnailUrl":{"type":"string","nullable":true},"shareUrl":{"type":"string"},"shareUrlCardinal":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updated":{"type":"string","format":"date-time"}}}}}}}}}}}}}
```

## Delete shared scenario

> Deletes a shared scenario and returns the ID in the response.

```json
{"openapi":"3.0.0","info":{"title":"Web API v2 - Public ","version":"1.0.0"},"tags":[],"servers":[{"url":"https://eu1.make.com/api/v2","description":"EU1 production zone"},{"url":"https://eu2.make.com/api/v2","description":"EU2 production zone"},{"url":"https://us1.make.com/api/v2","description":"US1 production zone"},{"url":"https://us2.make.com/api/v2","description":"US2 production zone"},{"url":"https://eu1.make.celonis.com/api/v2","description":"Celonis EU1 production zone"},{"url":"https://us1.make.celonis.com/api/v2","description":"Celonis US1 production zone"}],"security":[{"token":["scenarios-shared:write"]}],"components":{"securitySchemes":{"token":{"type":"apiKey","name":"Authorization","in":"header","description":"Authorize the API call with your API token in the `Authorization` header with the value: `Token your-api-token`.\n\nIf you don't have an API token yet, please refer to the [\"Authentication\" section](/api-documentation/authentication) to learn how to create one.\n"}}},"paths":{"/scenarios-shared/{scenarioId}/{sharedScenarioId}":{"delete":{"tags":["Scenarios shared"],"summary":"Delete shared scenario","description":"Deletes a shared scenario and returns the ID in the response.","parameters":[{"description":"The ID of the scenario. You can get the `scenarioId` with the [List scenarios](/api-reference/scenarios/get--scenarios.md) API call.","name":"scenarioId","in":"path","schema":{"type":"integer"},"required":true},{"name":"sharedScenarioId","in":"path","schema":{"type":"string","minLength":11,"maxLength":11},"description":"Shared Scenario ID","required":true}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"scenarioShared":{"type":"object","properties":{"id":{"type":"string"}}}}}}}}}}}}}
```

## Update shared scenario

> Updates a shared scenario by ID by passing new values in the request body. Any property that is not provided will be left unchanged.

```json
{"openapi":"3.0.0","info":{"title":"Web API v2 - Public ","version":"1.0.0"},"tags":[],"servers":[{"url":"https://eu1.make.com/api/v2","description":"EU1 production zone"},{"url":"https://eu2.make.com/api/v2","description":"EU2 production zone"},{"url":"https://us1.make.com/api/v2","description":"US1 production zone"},{"url":"https://us2.make.com/api/v2","description":"US2 production zone"},{"url":"https://eu1.make.celonis.com/api/v2","description":"Celonis EU1 production zone"},{"url":"https://us1.make.celonis.com/api/v2","description":"Celonis US1 production zone"}],"security":[{"token":["scenarios-shared:write"]}],"components":{"securitySchemes":{"token":{"type":"apiKey","name":"Authorization","in":"header","description":"Authorize the API call with your API token in the `Authorization` header with the value: `Token your-api-token`.\n\nIf you don't have an API token yet, please refer to the [\"Authentication\" section](/api-documentation/authentication) to learn how to create one.\n"}}},"paths":{"/scenarios-shared/{scenarioId}/{sharedScenarioId}":{"patch":{"tags":["Scenarios shared"],"summary":"Update shared scenario","description":"Updates a shared scenario by ID by passing new values in the request body. Any property that is not provided will be left unchanged.","parameters":[{"description":"The ID of the scenario. You can get the `scenarioId` with the [List scenarios](/api-reference/scenarios/get--scenarios.md) API call.","name":"scenarioId","in":"path","schema":{"type":"integer"},"required":true},{"name":"sharedScenarioId","in":"path","schema":{"type":"string","minLength":11,"maxLength":11},"description":"Shared Scenario ID","required":true}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":40},"descriptionShort":{"type":"string","maxLength":260,"nullable":true},"descriptionLong":{"type":"string","maxLength":2000,"nullable":true},"isEnabled":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Shared scenario updated","content":{"application/json":{"schema":{"type":"object","properties":{"scenarioShared":{"type":"object","properties":{"id":{"type":"string"},"scenarioId":{"type":"integer"},"authorId":{"type":"integer"},"isEnabled":{"type":"boolean"},"origin":{"type":"string","nullable":true},"titleOriginal":{"type":"string"},"title":{"type":"string"},"descriptionShort":{"type":"string","nullable":true},"descriptionLong":{"type":"string","nullable":true},"thumbnailUrl":{"type":"string","nullable":true},"shareUrl":{"type":"string"},"shareUrlCardinal":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updated":{"type":"string","format":"date-time"}}}}}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developers.make.com/api-documentation/api-reference/scenarios-shared.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
