Skip to content

Duplicate Sequence

POST
/sequences/{sequence_id}/duplicate

Copy a sequence. The copy is drafted, owned by the caller, no channels.

user_email is pinned to the caller by the app even if one is sent, which is why the request model does not offer it.

Authorizations

Parameters

Path Parameters

sequence_id
required

Sequence id to copy.

string

Sequence id to copy.

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body

Copy a sequence. The copy is owned by the caller and starts drafted.

user_email is deliberately absent: the app pins the copy’s owner to the caller, so accepting the field would advertise control it does not grant.

object
is_new_list
Any of:
boolean
is_shared
Any of:
boolean
name
Any of:
string
new_list_id
Any of:
integer

Responses

201

Successful Response

object
data
required

One sequence, as the lifecycle endpoints return it.

object
associated_list_id
Any of:
integer
campaign_builder_campaign_id
Any of:
string
created_at
Any of:
string format: date-time
id
Any of:
string
is_archived
Any of:
boolean
is_shared
Any of:
boolean
name
Any of:
string
sequence_kind
Any of:
string
status
Any of:
string
updated_at
Any of:
string format: date-time
user_email
Any of:
string
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string