Skip to main content

Create a workflow template group.

POST/api/v1/workflow-template-groupsworkflow_setup:write

Creates a group at the top level, or under parent_workflow_template_group_id, which the caller must see. A new group has no security, so everyone sees it until its access grants are set.

Scopeworkflow_setup:write
AsynchronousNo
MCP toolcreate_workflow_template_group
Portal permissionscreate_workflow_template_groups

Parameters​

NameInTypeRequiredDescription
Docwize-Versionheaderstring (date)Optional
Idempotency-KeyheaderstringOptionalmax 255

Request body​

Content typeType
application/jsonWorkflowTemplateGroupCreateInput

Responses​

StatusDescriptionBody
201Success.application/json WorkflowTemplateGroup or object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

WorkflowTemplateGroup​

FieldTypeRequiredDescription
descriptionstring or nullRequiredThe group's description; null when it has none.
namestringRequired
parent_workflow_template_group_idstring or nullRequiredThe group this one sits under; null at the top level.
workflow_template_group_idstringRequired

WorkflowTemplateGroupCreateInput​

FieldTypeRequiredDescription
descriptionstring or nullOptional
namestringRequiredThe group's name, up to 255 characters.
parent_workflow_template_group_idstring or nullOptionalPut the group under this one; null or absent for the top level.