Ziwako Docs
Ziwako AI (Mayele)Référence APIWorkflowTemplates

Use WorkflowTemplate

POST
/workflow-templates/{templateId}/use

Creates a user-owned copy from the template. Requires authentication.

Authorization

AccessToken
AuthorizationBearer <token>

In: header

Path Parameters

templateId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/workflow-templates/string/use" \  -H "Content-Type: application/json" \  -d '{}'
{  "status": 0,  "message": "string",  "data": {    "userId": "string",    "name": "string",    "description": "",    "trigger": {      "type": "manual",      "config": {}    },    "nodes": [      {}    ],    "edges": [      {}    ],    "status": "active",    "externalTriggerId": null,    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "id": "string"  },  "type": "string",  "code": "string"}