Skip to main content
POST
/
client
/
workflows
/
{workflow_id}
/
clone-template
Clone workflow default template for client
curl --request POST \
  --url http://localhost:8080/api/v1/client/workflows/{workflow_id}/clone-template \
  --header 'Authorization: <api-key>'
{
  "data": {
    "cloned": true,
    "template_id": 123
  },
  "errors": [
    {
      "condition": "format",
      "error": "Invalid email format",
      "key": "email"
    }
  ],
  "message": "Operation successful",
  "meta": {},
  "success": true
}

Authorizations

Authorization
string
header
required

JWT Bearer token or raw API key via Authorization header

Path Parameters

workflow_id
integer
required

Workflow ID

Response

OK

data
object
errors
object[]
message
string
Example:

"Operation successful"

meta
object
success
boolean
Example:

true