Create a new workflow for the current account.
cURL
curl --request POST \ --url https://api.example.com/api/v1/workflows \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "trigger": { "type": "<string>", "event": "<string>", "collection": "<string>", "condition": "<string>" }, "description": "<string>", "steps": [ {} ], "enabled": true } '
{ "id": "<string>", "account_id": "<string>", "name": "<string>", "description": "<string>", "trigger_type": "<string>", "trigger_config": {}, "steps": [ {} ], "enabled": true, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "created_by": "<string>" }
1 - 200
Show child attributes
Ordered list of step definition dicts
Successful Response