Skip to main content

Create Workflow From Template

POST /api/v1/workflow/create/template — request parameters and responses from the Menace Voice API schema.
3 min read
post/api/v1/workflow/create/template
Request example
Response
post/api/v1/workflow/create/template

See authentication for workspace API access. Public embed and artifact endpoints use their documented session or access tokens.

Headers

authorizationstring · null#
X-API-Keystring · null#

Body

application/json
call_typeenum<string>required#
Options:inboundoutbound
use_casestringrequired#
activity_descriptionstringrequired#
namestring · null#
Show child attributes
template_idstring · null#
Agent onboarding template id used to auto-provision recommended built-in tools and MCP servers.
Show child attributes
tool_uuidsstring[]#

Items: max 100

document_uuidsstring[]#

Items: max 100

workflow_configurationsobject · null#
Show child attributes
pre_call_fetch_urlstring · null#
Optional URL for Start Call pre-call data fetch. When set, the Start Call node posts caller and called numbers here before the first spoken turn.
Show child attributes
pre_call_fetch_credential_uuidstring · null#
Optional credential applied to the pre-call fetch request.
Show child attributes
post_call_webhook_urlstring · null#
Optional URL for a Webhook node that fires after the call ends.
Show child attributes
post_call_webhook_credential_uuidstring · null#
Optional credential applied to the post-call webhook.
Show child attributes
onboarding_contextobject · null#
Structured answers from agent onboarding. When present, the backend enforces the fixed three-stage layout and hardens every generated prompt.
Show child attributes

Responses

application/json
Successful Response
idintegerrequired#
namestringrequired#
statusstringrequired#
created_atstringrequired#
workflow_definitionobjectrequired#
current_definition_idinteger · nullrequired#
Show child attributes
template_context_variablesobject · null#
Show child attributes
call_disposition_codesobject · null#
Show child attributes
total_runsinteger · null#
Show child attributes
workflow_configurationsobject · null#
Show child attributes
version_numberinteger · null#
Show child attributes
version_statusstring · null#
Show child attributes
workflow_uuidstring · null#
Show child attributes