Workflows
Duplicate a workflow
Creates a new workflow as a copy of the source workflow at a given revision. All body fields are optional — send {} to use defaults. revisionId defaults to the source workflow's latest published revision; name defaults to "Copy of <original>"; folderId defaults to the source workflow's folder.
post/workflows/{workflowId}/duplicate
Request
- Base URLhttps://public-api.process.st/api/v1.1
- URLhttps://public-api.process.st/api/v1.1/workflows/{workflowId}/duplicate
- Auth
- API key in header X-API-Key
- or HTTP bearer
Path parameters
workflowIdstring required
The ID of the Workflow
Request body
Response
Example response
{
"data": {
"audit": {
"createdBy": {
"id": "paiZa0_oyxEBoZxtatp33g",
"email": "jane.doe@example.com",
"username": "Jane Doe"
},
"updatedBy": {
"id": "paiZa0_oyxEBoZxtatp33g",
"email": "jane.doe@example.com",
"username": "Jane Doe"
}
},
"links": [
{
"href": "https://api.process.st/api/v1.1/resource/XXX"
}
]
},
"links": [
{
"href": "https://api.process.st/api/v1.1/resource/XXX"
}
]
}Changes
No recorded changes to this operation across all 16 revisions of this API.