Copy segment

Copies a segment (including all its conditions) to another newsletter list within the same account.

Behavior

  • The target list must belong to the same authenticated account
  • A new segment is created on the target list with the same conditions
  • The original segment is not modified
  • If the target list does not have every field used in the segment conditions, the copy is rejected
    with 422 and the message lists the missing fields. Send createMissingFields: true to create
    those fields on the target list (same type and options as on the source list) before copying.

The segment ID is globally unique — no newsletter context is needed.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Segment ID (globally unique — no newsletter context needed)

Body Params
integer
required

Target newsletter (list) ID — must belong to the same account

boolean
Defaults to false

Create the fields used in the segment conditions on the target list when it does not have them.
Without it, such a copy is rejected with 422.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json