Clone workflow

Clone workflow

Endpoint

POST https://embedworkflow.com/api/v1/workflows/{id}/clone

Path Parameters

id string, required

System-generated unique identifier

Request Body

user_key string, optionaldefault: main

User's key

expand array, optional

Expand related objects

Response

Returns created.

Response Properties

hashid string

System-generated unique identifier

actions_count integer

Number of actions in the workflow

created_at string

Created at in specified timezone

created_at_string string

Created at formatted as human-readable string

created_at_utc string

Created at in UTC

Errors

  • 404 - not found
Response
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
  "hashid": "mewr3",
  "actions_count": 0,
  "created_at": "2025-07-13T01:01:18-04:00",
  "created_at_string": "Jul 13, 2025 01:01 am EDT",
  "created_at_utc": "2025-07-13T05:01:18Z",
  "description": null,
  "event_trigger": null,
  "event_trigger_draft": null,
  "executions_count": 0,
  "has_draft": false,
  "id": "01980228-b3cf-79fe-9d87-da1eb25f12f7",
  "key": "workflow_18_976",
  "last_published_at": null,
  "last_published_at_string": null,
  "last_published_at_utc": null,
  "match_conditions": null,
  "match_conditions_draft": null,
  "name": "Workflow 18",
  "object": "workflow",
  "on": false,
  "status": "off",
  "trigger_conditions": {},
  "trigger_conditions_draft": {},
  "updated_at": "2025-07-13T01:01:18-04:00",
  "updated_at_string": "Jul 13, 2025 01:01 am EDT",
  "updated_at_utc": "2025-07-13T05:01:18Z"
}