Create a workflow

Create a workflow. Set type to automations, monitors, or evaluators to specify the workflow kind.

Headers

AuthorizationstringRequired

Bearer token. Use Bearer YOUR_API_KEY.

Request

This endpoint expects an object.
typeenumRequired
Workflow type.
Allowed values:
workflow_idstringOptional
Optional workflow ID. Omit to let the server generate one.
namestringOptional
descriptionstring or nullOptional
trigger_event_typeenum or nullOptional
is_starredbooleanOptional
taskslist of objectsOptional
Workflow task definitions. Monitor tasks are typically generated by the monitor editor.

Response

Workflow created successfully
idstring
workflow_idstring
versioninteger
namestring
descriptionstring or null
typeenum
Allowed values:
trigger_event_typestring or null
taskslist of maps from strings to any
is_enabledboolean
is_read_onlyboolean
created_atdatetime
updated_atdatetime

Errors

401
Unauthorized Error