cURL
curl --request POST \ --url https://api.getmalakai.com/api/api/workflows/duplicate/{id} \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --header 'x-access-token: <x-access-token>' \ --data ' { "id": "<string>", "name": "<string>", "description": "<string>" } '
{ "responseCode": 2000, "message": "Workflow duplicated successfully", "data": { "duplicateWorkflow": { "id": "f22c43ef-be66-4859-b5b4-**", "name": "New Workflow", "description": null, "user_id": "***", "nodes":[], "edges":[], "ml_payload": [], "created_at": "2025-07-29T09:11:00.661Z", "updated_at": "2025-07-29T09:30:39.801Z" } } }
Initiate the duplication of an existing workflow
Bearer