curl --request POST \
--url https://api.example.com/actions \
--header 'Content-Type: application/json' \
--cookie fastapiusersauth= \
--data '
{
"workflow_id": "<string>",
"type": "<string>",
"title": "<string>"
}
'{
"id": "<string>",
"workflow_id": "<string>",
"type": "<string>",
"title": "<string>",
"description": "<string>",
"status": "<string>",
"is_interactive": true
}Create a new action for a workflow.
curl --request POST \
--url https://api.example.com/actions \
--header 'Content-Type: application/json' \
--cookie fastapiusersauth= \
--data '
{
"workflow_id": "<string>",
"type": "<string>",
"title": "<string>"
}
'{
"id": "<string>",
"workflow_id": "<string>",
"type": "<string>",
"title": "<string>",
"description": "<string>",
"status": "<string>",
"is_interactive": true
}Was this page helpful?