Copy a library workflow
Copies a public library workflow into the user's workspace, optionally targeting a specific space and project.
POST
/api/library/workflow/{id}/copyPath parameters
idnumberrequiredPath parameter: id
Body
space_infostringrequiredproject_infostringRequest
curl
curl -X POST https://platform.trickest.com/api/library/workflow/{id}/copy \
-H "Authorization: Bearer $TRICKEST_TOKEN" \
-H "Content-Type: application/json" \
-d '{ }'Responses
200Copied workflow
idstringrequirednamestringrequireddescriptionstringspace_idstringspace_infostringspace_namestringproject_idstringproject_infostringproject_namestringvault_idstringauthorstringcreated_datestringrequiredmodified_datestringrequiredis_copybooleanplaygroundbooleanis_templatebooleanis_modulebooleanexecution_countnumberrun_countnumberlast_execution_datestringlast_execution_statusstringlatest_versionstringschedule_infoobjectexecutingbooleancolorstringsolution_idstringhas_appbooleanhas_databasebooleanmetadataobject400Bad Request – validation error or malformed input
codestringmessagestring401Unauthorized – missing or expired token
codestringmessagestring500Internal Server Error
codestringmessagestring