Add segment
Create a new segment in a specific list.
Authentication
AuthorizationBearer
Authorization using a Mailchimp API key (a.k.a. Bearer token)
OR
AuthorizationBearer
Authorization using OAuth
Path parameters
list_id
The unique ID for the list.
Request
Information about a specific list segment.
name
The name of the segment.
static_segment
An array of emails to be used for a static segment. Any emails provided that are not present on the list will be ignored. Passing an empty array will create a static segment without any subscribers. This field cannot be provided with the options field.
Response
_links
A list of link types and descriptions for the API schema documents.
created_at
The date and time the segment was created in ISO 8601 format.
id
The unique id for the segment.
list_id
The list id.
member_count
The number of active subscribers currently included in the segment.
name
The name of the segment.
options
The conditions of the segment. Static segments (tags) and fuzzy segments don't have conditions.
type
The type of segment. Static segments are now known as tags. Learn more about tags.
Allowed values:
updated_at
The date and time the segment was last updated in ISO 8601 format.