Templates
Create template
Create a new template from an agent, workflow, or entire workspace via the Nedzo REST API. Snapshots configuration for sharing or reuse.
POST
Create a new template. Specify
templateType as "agent", "workflow", or "workspace". For agent/workflow provide the corresponding agentId/workflowId. For workspace, the entire workspace is snapshotted (all agents, workflows, custom fields, and tags; contacts and conversations are excluded).
Body Parameters
Source workspace. For
agent/workflow templates: the workspace containing the source entity. For workspace templates: the workspace to snapshot. Required for account-scoped API keys, inferred from workspace-scoped keys if omitted.Type of template to create. One of
agent, workflow, or workspace.Agent ID to create template from. Required when
templateType is "agent".Workflow ID to create template from. Required when
templateType is "workflow".Template name (1-255 characters).
Template description (max 1000 characters).
