Copy conditions and segments from another send

Copies the targeting of a source send onto the target send (sendId): its custom conditions and/or its segment filter.

Important

  • Overwrites the target's targeting – each copied part replaces the target send's own conditions / segments; a source without conditions or segments clears that part on the target
  • The source and the target must be two different sends of the same list (segments and condition fields belong to a list)
  • If the target send is active, the new targeting applies to its next deliveries

Behavior

  • copyConditions copies the custom condition rows of the send
  • copySegments copies the connected segments including their negation, together with the segment operator (and / or) and the segment negation setting of the send
  • Both flags default to true; at least one must be true
  • In the response a part that was not copied is null
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The ID of the target send whose conditions / segments are overwritten

Body Params
integer
required

ID of the send to copy from (same list as the target, different send)

boolean
Defaults to true

Copy the custom conditions (overwrites the target's conditions)

boolean
Defaults to true

Copy the segments with their negation and the segment operator (overwrites the target's segments)

Responses

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