Save flow as template
Saves the flow's current definition as a template private to this account.
Authentication
AuthorizationBearer
Pass a JWT access token or an API key (prefixed with tif_live_) as a Bearer token.
Path parameters
flowId
Flow ID
Request
This endpoint expects an object.
category
Template category
name
Template name
description
Brief description of the template
icon
Icon identifier or emoji for display
Response
Flow saved as template
category
Template category for filtering
createdAt
When the template was created
displayOrder
Sort order for template listing (lower = first)
edges
Flow edge connections between nodes
id
Unique template identifier
initialNode
ID of the first node to execute
isActive
Whether this template is available for use
name
Template display name
nodes
Flow node definitions
slug
URL-safe slug for the template
updatedAt
When the template was last modified
accountId
Account that owns this template (null for system templates)
createdBy
User who created this template
definition
Runtime FlowDefinition (initialNode + services + nodes). This is what instantiation copies into the new flow’s definition. Null on legacy templates that only carry builder nodes/edges.
description
Brief description of what the template does
icon
Icon identifier or emoji for display
previewImageUrl
URL to a preview image for the template
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error