Use this method to create a new segment. You create segments to target
a subset of your contacts that meet your specific criteria for a marketing
campaign. The segment name
must be unique. The segment_criteria
requires single-string escaped JSON. Constant Contact uses the contact
data that you specify in the segment_criteria
to evaluate and identify
the contacts you want to target. Contact data can be grouped from different
data sources, including:
tracking
: Supports or and and groups.
contact
: Supports or and and groups.
If you do not specify list_membership
as criteria, Constant Contact
evaluates all contacts in your account. To avoid returning a 400 error
response, when specifying the segment_criteria
do not request more
than 500 email campaigns or a date range greater than 1825 days (5 years)
be evaluated.
For more use case information, see the Segments Overview
in the API guide.