Skip to navigation

Add member to segment

Add a member to a static segment.

Authentication

AuthorizationBearer

Authorization using a Mailchimp API key (a.k.a. Bearer token)

OR
AuthorizationBearer
Authorization using OAuth

Path parameters

list_idstringRequired
The unique ID for the list.
segment_idstringRequired
The unique id for the segment.

Request

This endpoint expects an object.
email_addressstringRequiredformat: "email"
Email address for a subscriber.

Response

This endpoint returns an object.
email_addressstringOptionalRead-only
Email address for a subscriber.
email_clientstringOptionalRead-only
The list member's email client.
email_typestringOptional

Type of email this member asked to get ('html' or 'text').

full_namestringOptionalRead-only
The contact's full name.
idstringOptionalRead-only
The MD5 hash of the lowercase version of the list member's email address.
interestsmap from strings to booleansOptional
The key of this object's properties is the ID of the interest in question.
ip_optstringOptionalRead-only

The IP address the subscriber used to confirm their opt-in status.

ip_signupstringOptionalRead-only
IP address the subscriber signed up from.
languagestringOptional

If set/detected, the subscriber's language.

last_changeddatetimeOptionalRead-only
The date and time the member's info was last changed in ISO 8601 format.
last_noteobjectOptionalRead-only
The most recent Note added about this member.
list_idstringOptionalRead-only
The list id.
locationobjectOptional
Subscriber location information.
member_ratingintegerOptionalRead-only
Star rating for this member, between 1 and 5.
merge_fieldsmap from strings to objects or strings or doubles or nullOptional

A dictionary of merge fields where the keys are the merge tags. See the Merge Fields documentation for more about the structure.

statsobjectOptionalRead-only
Open and click rates for this subscriber.
statusenumOptional
Subscriber's current status.
Allowed values:
timestamp_optdatetimeOptionalRead-only

The date and time the subscriber confirmed their opt-in status in ISO 8601 format.

timestamp_signupdatetimeOptionalRead-only
The date and time the subscriber signed up for the list in ISO 8601 format.
unique_email_idstringOptionalRead-only
An identifier for the address across all of Mailchimp.
vipbooleanOptional

VIP status for subscriber.