Create Pathway Version
Creates a new version of a specific pathway, including its name, nodes, and edges.
Headers
Your API key for authentication.
Path Parameters
The ID of the pathway for which to create a new version.
Request Body
The name of the new pathway version.
An array of node objects defining the structure of the pathway.
The ID of the pathway.
Node Object Parameters
Node Object Parameters
-
id — Unique identifier of the node
-
type — Type of the node (e.g., “Default”, “End Call”, “Webhook”)
-
data — Object containing node-specific data
-
name — Name of the node
-
text or prompt — Text or prompt associated with the node
-
Other properties specific to the node type
-
An array of edge objects defining the connections between nodes.
Edge Object Parameters
Edge Object Parameters
-
id — Unique identifier of the edge
-
source — ID of the source node
-
target — ID of the target node
-
label — Label for this edge
Response
The status of the operation (e.g., “success”).
A message describing the result of the operation.