---
title: "Create a scenario schedule."
method: POST
path: "/schedules/scenarios"
tags: ["schedules"]
---

# Create a scenario schedule.

`POST /schedules/scenarios`

Requires the privilege [`SCENARIOS_RUN`](https://www.gremlin.com/docs/user-management/access-control/#privileges)

## Query parameters

- `teamId` string, required

## Request body

- CreateScenarioScheduleRequest
  - `trigger` object
    - `windowType` 'Once' | 'Random'
    - `type` string
    - `templateId` string
    - `optionalTemplateId` string
    - `empty` boolean
  - `enabled` boolean
  - `scenarioId` string

## Response `default`

## Other responses

- `401` — Authorization header missing or malformed. Please provide proper credentials in the authorization header.
- `403` — User requires privilege for target team: SCENARIOS_RUN

---

[API](https://skmtc.net/gremlin/apis/gremlin-api.md) · [All operations](https://skmtc.net/gremlin/apis/gremlin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gremlin/gremlin-api/revisions/4473fbff84f0/schema)
