Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Input for creating a new scenario

name
string
required

Name of the scenario (used as the START node content)

Minimum string length: 1
steps
CreateScenarioStepInput · object[]
required

Ordered list of steps for the scenario (at least one step is required)

Minimum array length: 1

Response

The created scenario

data
object
required