/lists/{list_id}
Batch subscribe or unsubscribe list members.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| skip_merge_validation | query | optional | boolean | If skip_merge_validation is true, member data will be accepted without merge field values, even if the merge field is usually required. This defaults to false. |
| skip_duplicate_check | query | optional | boolean | If skip_duplicate_check is true, we will ignore duplicates sent in the request when using the batch sub/unsub on the lists endpoint. The status of the first appearance in the request will be saved. This defaults to false. |
application/json
ListsBatchSubscribeOrUnsubscribeRequest
| Property | Type | Required |
|---|---|---|
| members | array | required |
| └ vip | boolean | optional |
| └ ip_opt | string | optional |
| └ status | string | optional |
| └ language | string | optional |
| └ location | object | optional |
| └ latitude | number | optional |
| └ longitude | number | optional |
| └ interests | object | optional |
| └ ip_signup | string | optional |
| └ email_type | string | optional |
| └ merge_fields | object | optional |
| └ email_address | string | optional |
| └ timestamp_opt | string | optional |
| └ timestamp_signup | string | optional |
| sync_tags | boolean | optional |
| update_existing | boolean | optional |
An error generated by the Mailchimp API.
POST /lists/{list_id}
/lists/{list_id}/abuse-reports
Get all abuse reports for a specific list.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
| offset | query | optional | integer | Used for pagination, this it the number of records from a collection to skip. Default value is 0. |
| list_id | path | required | string | The unique ID for the list. |
An error generated by the Mailchimp API.
GET /lists/{list_id}/abuse-reports
/lists/{list_id}/abuse-reports/{report_id}
Get details about a specific abuse report.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
| offset | query | optional | integer | Used for pagination, this it the number of records from a collection to skip. Default value is 0. |
| list_id | path | required | string | The unique ID for the list. |
| report_id | path | required | string | The id for the abuse report. |
An error generated by the Mailchimp API.
GET /lists/{list_id}/abuse-reports/{report_id}
/lists/{list_id}/activity
Get up to the previous 180 days of daily detailed aggregated activity stats for a list, not including Automation activity.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
| offset | query | optional | integer | Used for pagination, this it the number of records from a collection to skip. Default value is 0. |
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| list_id | path | required | string | The unique ID for the list. |
An error generated by the Mailchimp API.
GET /lists/{list_id}/activity
/lists/{list_id}/clients
Get a list of the top email clients based on user-agent strings.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| list_id | path | required | string | The unique ID for the list. |
An error generated by the Mailchimp API.
GET /lists/{list_id}/clients
/lists/{list_id}/growth-history
Get a month-by-month summary of a specific list’s growth activity.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
| offset | query | optional | integer | Used for pagination, this it the number of records from a collection to skip. Default value is 0. |
| list_id | path | required | string | The unique ID for the list. |
| sort_field | query | optional | string | Returns files sorted by the specified field. |
| sort_dir | query | optional | string | Determines the order direction for sorted results. |
An error generated by the Mailchimp API.
GET /lists/{list_id}/growth-history
/lists/{list_id}/growth-history/{month}
Get a summary of a specific list’s growth activity for a specific month and year.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| list_id | path | required | string | The unique ID for the list. |
| month | path | required | string | A specific month of list growth history. |
An error generated by the Mailchimp API.
GET /lists/{list_id}/growth-history/{month}
/lists/{list_id}/interest-categories
Get information about a list’s interest categories.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
| offset | query | optional | integer | Used for pagination, this it the number of records from a collection to skip. Default value is 0. |
| type | query | optional | string | Restrict results a type of interest group |
An error generated by the Mailchimp API.
GET /lists/{list_id}/interest-categories
/lists/{list_id}/interest-categories
Create a new interest category.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
application/json
ListsAddInterestCategoryRequest
| Property | Type | Required |
|---|---|---|
| type | string | required |
| title | string | required |
| display_order | integer | optional |
An error generated by the Mailchimp API.
POST /lists/{list_id}/interest-categories
/lists/{list_id}/interest-categories/{interest_category_id}
Delete a specific interest category.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| interest_category_id | path | required | string | The unique ID for the interest category. |
An error generated by the Mailchimp API.
Empty Response
DELETE /lists/{list_id}/interest-categories/{interest_category_id}
/lists/{list_id}/interest-categories/{interest_category_id}
Get information about a specific interest category.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| interest_category_id | path | required | string | The unique ID for the interest category. |
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
An error generated by the Mailchimp API.
GET /lists/{list_id}/interest-categories/{interest_category_id}
/lists/{list_id}/interest-categories/{interest_category_id}
Update a specific interest category.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| interest_category_id | path | required | string | The unique ID for the interest category. |
application/json
ListsAddInterestCategoryRequest
| Property | Type | Required |
|---|---|---|
| type | string | required |
| title | string | required |
| display_order | integer | optional |
An error generated by the Mailchimp API.
PATCH /lists/{list_id}/interest-categories/{interest_category_id}
/lists/{list_id}/interest-categories/{interest_category_id}/interests
Get a list of this category’s interests.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| interest_category_id | path | required | string | The unique ID for the interest category. |
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
| offset | query | optional | integer | Used for pagination, this it the number of records from a collection to skip. Default value is 0. |
An error generated by the Mailchimp API.
GET /lists/{list_id}/interest-categories/{interest_category_id}/interests
/lists/{list_id}/interest-categories/{interest_category_id}/interests
Create a new interest or ‘group name’ for a specific category.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| interest_category_id | path | required | string | The unique ID for the interest category. |
application/json
ListsAddInterestInCategoryRequest
| Property | Type | Required |
|---|---|---|
| name | string | required |
| display_order | integer | optional |
An error generated by the Mailchimp API.
POST /lists/{list_id}/interest-categories/{interest_category_id}/interests
/lists/{list_id}/interest-categories/{interest_category_id}/interests/{interest_id}
Delete interests or group names in a specific category.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| interest_category_id | path | required | string | The unique ID for the interest category. |
| interest_id | path | required | string | The specific interest or ‘group name’. |
An error generated by the Mailchimp API.
Empty Response
DELETE /lists/{list_id}/interest-categories/{interest_category_id}/interests/{interest_id}
/lists/{list_id}/interest-categories/{interest_category_id}/interests/{interest_id}
Get interests or ‘group names’ for a specific category.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| interest_category_id | path | required | string | The unique ID for the interest category. |
| interest_id | path | required | string | The specific interest or ‘group name’. |
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
An error generated by the Mailchimp API.
GET /lists/{list_id}/interest-categories/{interest_category_id}/interests/{interest_id}
/lists/{list_id}/interest-categories/{interest_category_id}/interests/{interest_id}
Update interests or ‘group names’ for a specific category.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| interest_category_id | path | required | string | The unique ID for the interest category. |
| interest_id | path | required | string | The specific interest or ‘group name’. |
application/json
ListsAddInterestInCategoryRequest
| Property | Type | Required |
|---|---|---|
| name | string | required |
| display_order | integer | optional |
An error generated by the Mailchimp API.
PATCH /lists/{list_id}/interest-categories/{interest_category_id}/interests/{interest_id}
/lists/{list_id}/locations
Get the locations (countries) that the list’s subscribers have been tagged to based on geocoding their IP address.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| list_id | path | required | string | The unique ID for the list. |
An error generated by the Mailchimp API.
GET /lists/{list_id}/locations
/lists/{list_id}/members
Get information about members in a specific Mailchimp list.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
| offset | query | optional | integer | Used for pagination, this it the number of records from a collection to skip. Default value is 0. |
| list_id | path | required | string | The unique ID for the list. |
| email_type | query | optional | string | The email type. |
| status | query | optional | string | The subscriber’s status. |
| since_timestamp_opt | query | optional | string | Restrict results to subscribers who opted-in after the set timeframe. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00. |
| before_timestamp_opt | query | optional | string | Restrict results to subscribers who opted-in before the set timeframe. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00. |
| since_last_changed | query | optional | string | Restrict results to subscribers whose information changed after the set timeframe. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00. |
| before_last_changed | query | optional | string | Restrict results to subscribers whose information changed before the set timeframe. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00. |
| unique_email_id | query | optional | string | A unique identifier for the email address across all Mailchimp lists. |
| vip_only | query | optional | boolean | A filter to return only the list’s VIP members. Passing |
| interest_category_id | query | optional | string | The unique id for the interest category. |
| interest_ids | query | optional | string | Used to filter list members by interests. Must be accompanied by interest_category_id and interest_match. The value must be a comma separated list of interest ids present for any supplied interest categories. |
| interest_match | query | optional | string | Used to filter list members by interests. Must be accompanied by interest_category_id and interest_ids. “any” will match a member with any of the interest supplied, “all” will only match members with every interest supplied, and “none” will match members without any of the interest supplied. |
| sort_field | query | optional | string | Returns files sorted by the specified field. |
| sort_dir | query | optional | string | Determines the order direction for sorted results. |
| since_last_campaign | query | optional | boolean | Filter subscribers by those subscribed/unsubscribed/pending/cleaned since last email campaign send. Member status is required to use this filter. |
| unsubscribed_since | query | optional | string | Filter subscribers by those unsubscribed since a specific date. Using any status other than unsubscribed with this filter will result in an error. |
An error generated by the Mailchimp API.
GET /lists/{list_id}/members
/lists/{list_id}/members
Add a new member to the list.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| skip_merge_validation | query | optional | boolean | If skip_merge_validation is true, member data will be accepted without merge field values, even if the merge field is usually required. This defaults to false. |
application/json
ListsAddMemberToListRequest
| Property | Type | Required |
|---|---|---|
| vip | boolean | optional |
| tags | array | optional |
| ip_opt | string | optional |
| status | string | required |
| language | string | optional |
| location | object | optional |
| └ latitude | number | optional |
| └ longitude | number | optional |
| interests | object | optional |
| ip_signup | string | optional |
| email_type | string | optional |
| merge_fields | object | optional |
| email_address | string | required |
| timestamp_opt | string | optional |
| timestamp_signup | string | optional |
| marketing_permissions | array | optional |
| └ enabled | boolean | optional |
| └ marketing_permission_id | string | optional |
An error generated by the Mailchimp API.
POST /lists/{list_id}/members
/lists/{list_id}/members/{subscriber_hash}
Archive a list member. To permanently delete, use the delete-permanent action.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| subscriber_hash | path | required | string | The MD5 hash of the lowercase version of the list member’s email address. This endpoint also accepts a list member’s email address or contact_id. |
An error generated by the Mailchimp API.
Empty Response
DELETE /lists/{list_id}/members/{subscriber_hash}
/lists/{list_id}/members/{subscriber_hash}
Get information about a specific list member, including a currently subscribed, unsubscribed, or bounced member.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| list_id | path | required | string | The unique ID for the list. |
| subscriber_hash | path | required | string | The MD5 hash of the lowercase version of the list member’s email address. This endpoint also accepts a list member’s email address or contact_id. |
An error generated by the Mailchimp API.
GET /lists/{list_id}/members/{subscriber_hash}
/lists/{list_id}/members/{subscriber_hash}
Update information for a specific list member.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| subscriber_hash | path | required | string | The MD5 hash of the lowercase version of the list member’s email address. This endpoint also accepts a list member’s email address or contact_id. |
| skip_merge_validation | query | optional | boolean | If skip_merge_validation is true, member data will be accepted without merge field values, even if the merge field is usually required. This defaults to false. |
application/json
ListsUpdateMemberRequest
| Property | Type | Required |
|---|---|---|
| vip | boolean | optional |
| ip_opt | string | optional |
| status | string | optional |
| language | string | optional |
| location | object | optional |
| └ latitude | number | optional |
| └ longitude | number | optional |
| interests | object | optional |
| ip_signup | string | optional |
| email_type | string | optional |
| merge_fields | object | optional |
| email_address | string | optional |
| timestamp_opt | string | optional |
| timestamp_signup | string | optional |
| marketing_permissions | array | optional |
| └ enabled | boolean | optional |
| └ marketing_permission_id | string | optional |
An error generated by the Mailchimp API.
PATCH /lists/{list_id}/members/{subscriber_hash}
/lists/{list_id}/members/{subscriber_hash}
Add or update a list member.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| subscriber_hash | path | required | string | The MD5 hash of the lowercase version of the list member’s email address. This endpoint also accepts a list member’s email address or contact_id. |
| skip_merge_validation | query | optional | boolean | If skip_merge_validation is true, member data will be accepted without merge field values, even if the merge field is usually required. This defaults to false. |
application/json
ListsAddOrUpdateMemberRequest
| Property | Type | Required |
|---|---|---|
| vip | boolean | optional |
| ip_opt | string | optional |
| status | string | optional |
| language | string | optional |
| location | object | optional |
| └ latitude | number | optional |
| └ longitude | number | optional |
| interests | object | optional |
| ip_signup | string | optional |
| email_type | string | optional |
| merge_fields | object | optional |
| email_address | string | required |
| status_if_new | string | required |
| timestamp_opt | string | optional |
| timestamp_signup | string | optional |
| marketing_permissions | array | optional |
| └ enabled | boolean | optional |
| └ marketing_permission_id | string | optional |
An error generated by the Mailchimp API.
PUT /lists/{list_id}/members/{subscriber_hash}
/lists/{list_id}/members/{subscriber_hash}/actions/delete-permanent
Delete all personally identifiable information related to a list member, and remove them from a list. This will make it impossible to re-import the list member.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| subscriber_hash | path | required | string | The MD5 hash of the lowercase version of the list member’s email address. |
An error generated by the Mailchimp API.
Empty Response
POST /lists/{list_id}/members/{subscriber_hash}/actions/delete-permanent
/lists/{list_id}/members/{subscriber_hash}/activity
Get the last 50 events of a member’s activity on a specific list, including opens, clicks, and unsubscribes.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| subscriber_hash | path | required | string | The MD5 hash of the lowercase version of the list member’s email address. This endpoint also accepts a list member’s email address or contact_id. |
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| action | query | optional | array | A comma seperated list of actions to return. |
An error generated by the Mailchimp API.
GET /lists/{list_id}/members/{subscriber_hash}/activity
/lists/{list_id}/members/{subscriber_hash}/activity-feed
Get a member’s activity on a specific list, including opens, clicks, and unsubscribes.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| subscriber_hash | path | required | string | The MD5 hash of the lowercase version of the list member’s email address. This endpoint also accepts a list member’s email address or contact_id. |
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
| offset | query | optional | integer | Used for pagination, this it the number of records from a collection to skip. Default value is 0. |
| activity_filters | query | optional | array | A comma-separated list of activity filters that correspond to a set of activity types, e.g “?activity_filters=open,bounce,click”. |
An error generated by the Mailchimp API.
GET /lists/{list_id}/members/{subscriber_hash}/activity-feed
/lists/{list_id}/members/{subscriber_hash}/events
Get events for a contact.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| subscriber_hash | path | required | string | The MD5 hash of the lowercase version of the list member’s email address. This endpoint also accepts a list member’s email address or contact_id. |
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
| offset | query | optional | integer | Used for pagination, this it the number of records from a collection to skip. Default value is 0. |
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
An error generated by the Mailchimp API.
GET /lists/{list_id}/members/{subscriber_hash}/events
/lists/{list_id}/members/{subscriber_hash}/events
Add an event for a list member.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| subscriber_hash | path | required | string | The MD5 hash of the lowercase version of the list member’s email address. This endpoint also accepts a list member’s email address or contact_id. |
application/json
ListsAddMemberEventRequest
| Property | Type | Required |
|---|---|---|
| name | string | required |
| is_syncing | boolean | optional |
| properties | object | optional |
| occurred_at | string | optional |
An error generated by the Mailchimp API.
Empty Response
POST /lists/{list_id}/members/{subscriber_hash}/events
/lists/{list_id}/members/{subscriber_hash}/goals
Get the last 50 Goal events for a member on a specific list.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| subscriber_hash | path | required | string | The MD5 hash of the lowercase version of the list member’s email address. This endpoint also accepts a list member’s email address or contact_id. |
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
An error generated by the Mailchimp API.
GET /lists/{list_id}/members/{subscriber_hash}/goals
/lists/{list_id}/members/{subscriber_hash}/notes
Get recent notes for a specific list member.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| subscriber_hash | path | required | string | The MD5 hash of the lowercase version of the list member’s email address. |
| sort_field | query | optional | string | Returns notes sorted by the specified field. |
| sort_dir | query | optional | string | Determines the order direction for sorted results. |
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
| offset | query | optional | integer | Used for pagination, this it the number of records from a collection to skip. Default value is 0. |
An error generated by the Mailchimp API.
GET /lists/{list_id}/members/{subscriber_hash}/notes
/lists/{list_id}/members/{subscriber_hash}/notes
Add a new note for a specific subscriber.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| subscriber_hash | path | required | string | The MD5 hash of the lowercase version of the list member’s email address. |
application/json
ListsAddMemberNoteRequest
| Property | Type | Required |
|---|---|---|
| note | string | optional |
An error generated by the Mailchimp API.
POST /lists/{list_id}/members/{subscriber_hash}/notes
/lists/{list_id}/members/{subscriber_hash}/notes/{note_id}
Delete a specific note for a specific list member.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| subscriber_hash | path | required | string | The MD5 hash of the lowercase version of the list member’s email address. This endpoint also accepts a list member’s email address or contact_id. |
| note_id | path | required | string | The id for the note. |
An error generated by the Mailchimp API.
Empty Response
DELETE /lists/{list_id}/members/{subscriber_hash}/notes/{note_id}
/lists/{list_id}/members/{subscriber_hash}/notes/{note_id}
Get a specific note for a specific list member.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| subscriber_hash | path | required | string | The MD5 hash of the lowercase version of the list member’s email address. This endpoint also accepts a list member’s email address or contact_id. |
| note_id | path | required | string | The id for the note. |
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
An error generated by the Mailchimp API.
GET /lists/{list_id}/members/{subscriber_hash}/notes/{note_id}
/lists/{list_id}/members/{subscriber_hash}/notes/{note_id}
Update a specific note for a specific list member.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| subscriber_hash | path | required | string | The MD5 hash of the lowercase version of the list member’s email address. This endpoint also accepts a list member’s email address or contact_id. |
| note_id | path | required | string | The id for the note. |
application/json
ListsAddMemberNoteRequest
| Property | Type | Required |
|---|---|---|
| note | string | optional |
An error generated by the Mailchimp API.
PATCH /lists/{list_id}/members/{subscriber_hash}/notes/{note_id}
/lists/{list_id}/members/{subscriber_hash}/tags
Get the tags on a list member.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| subscriber_hash | path | required | string | The MD5 hash of the lowercase version of the list member’s email address. This endpoint also accepts a list member’s email address or contact_id. |
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
| offset | query | optional | integer | Used for pagination, this it the number of records from a collection to skip. Default value is 0. |
An error generated by the Mailchimp API.
GET /lists/{list_id}/members/{subscriber_hash}/tags
/lists/{list_id}/members/{subscriber_hash}/tags
Add or remove tags from a list member. If a tag that does not exist is passed in and set as ‘active’, a new tag will be created.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| subscriber_hash | path | required | string | The MD5 hash of the lowercase version of the list member’s email address. |
application/json
ListsAddMemberTagsRequest
| Property | Type | Required |
|---|---|---|
| tags | array | required |
| └ name | string | required |
| └ status | string | required |
| is_syncing | boolean | optional |
An error generated by the Mailchimp API.
Empty Response
POST /lists/{list_id}/members/{subscriber_hash}/tags
/lists/{list_id}/merge-fields
Get a list of all merge fields for an audience.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
| offset | query | optional | integer | Used for pagination, this it the number of records from a collection to skip. Default value is 0. |
| type | query | optional | string | The merge field type. |
| required | query | optional | boolean | Whether it’s a required merge field. |
An error generated by the Mailchimp API.
GET /lists/{list_id}/merge-fields
/lists/{list_id}/merge-fields
Add a new merge field for a specific audience.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
application/json
ListsAddMergeFieldRequest
| Property | Type | Required |
|---|---|---|
| tag | string | optional |
| name | string | required |
| type | string | required |
| public | boolean | optional |
| options | object | optional |
| └ size | integer | optional |
| └ choices | array | optional |
| └ date_format | string | optional |
| └ phone_format | string | optional |
| └ default_country | integer | optional |
| required | boolean | optional |
| help_text | string | optional |
| default_value | string | optional |
| display_order | integer | optional |
An error generated by the Mailchimp API.
POST /lists/{list_id}/merge-fields
/lists/{list_id}/merge-fields/{merge_id}
Delete a specific merge field.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| merge_id | path | required | string | The id for the merge field. |
An error generated by the Mailchimp API.
Empty Response
DELETE /lists/{list_id}/merge-fields/{merge_id}
/lists/{list_id}/merge-fields/{merge_id}
Get information about a specific merge field.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| merge_id | path | required | string | The id for the merge field. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
An error generated by the Mailchimp API.
GET /lists/{list_id}/merge-fields/{merge_id}
/lists/{list_id}/merge-fields/{merge_id}
Update a specific merge field.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| merge_id | path | required | string | The id for the merge field. |
application/json
ListsUpdateMergeFieldRequest
| Property | Type | Required |
|---|---|---|
| tag | string | optional |
| name | string | required |
| public | boolean | optional |
| options | object | optional |
| └ choices | array | optional |
| └ date_format | string | optional |
| └ phone_format | string | optional |
| └ default_country | integer | optional |
| required | boolean | optional |
| help_text | string | optional |
| default_value | string | optional |
| display_order | integer | optional |
An error generated by the Mailchimp API.
PATCH /lists/{list_id}/merge-fields/{merge_id}
/lists/{list_id}/segments
Get information about all available segments for a specific list.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
| offset | query | optional | integer | Used for pagination, this it the number of records from a collection to skip. Default value is 0. |
| list_id | path | required | string | The unique ID for the list. |
| type | query | optional | string | Limit results based on segment type. |
| since_created_at | query | optional | string | Restrict results to segments created after the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00. |
| before_created_at | query | optional | string | Restrict results to segments created before the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00. |
| include_cleaned | query | optional | boolean | Include cleaned members in response |
| include_transactional | query | optional | boolean | Include transactional members in response |
| include_unsubscribed | query | optional | boolean | Include unsubscribed members in response |
| since_updated_at | query | optional | string | Restrict results to segments update after the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00. |
| before_updated_at | query | optional | string | Restrict results to segments update before the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00. |
An error generated by the Mailchimp API.
GET /lists/{list_id}/segments
/lists/{list_id}/segments
Create a new segment in a specific list.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
application/json
ListsAddNewSegmentRequest
| Property | Type | Required |
|---|---|---|
| name | string | required |
| options | object | optional |
| └ match | string | optional |
| └ conditions | array | optional |
| static_segment | array | optional |
An error generated by the Mailchimp API.
POST /lists/{list_id}/segments
/lists/{list_id}/segments/{segment_id}
Delete a specific segment in a list.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| segment_id | path | required | string | The unique id for the segment. |
An error generated by the Mailchimp API.
Empty Response
DELETE /lists/{list_id}/segments/{segment_id}
/lists/{list_id}/segments/{segment_id}
Get information about a specific segment.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| list_id | path | required | string | The unique ID for the list. |
| segment_id | path | required | string | The unique id for the segment. |
| include_cleaned | query | optional | boolean | Include cleaned members in response |
| include_transactional | query | optional | boolean | Include transactional members in response |
| include_unsubscribed | query | optional | boolean | Include unsubscribed members in response |
An error generated by the Mailchimp API.
GET /lists/{list_id}/segments/{segment_id}
/lists/{list_id}/segments/{segment_id}
Update a specific segment in a list.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| segment_id | path | required | string | The unique id for the segment. |
application/json
ListsUpdateSegmentByIdRequest
| Property | Type | Required |
|---|---|---|
| name | string | required |
| options | object | optional |
| └ match | string | optional |
| └ conditions | array | optional |
| static_segment | array | optional |
An error generated by the Mailchimp API.
PATCH /lists/{list_id}/segments/{segment_id}
/lists/{list_id}/segments/{segment_id}
Batch add/remove list members to static segment
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| segment_id | path | required | string | The unique id for the segment. |
application/json
ListsBatchAddRemoveMembersRequest
| Property | Type | Required |
|---|---|---|
| members_to_add | array | optional |
| members_to_remove | array | optional |
An error generated by the Mailchimp API.
POST /lists/{list_id}/segments/{segment_id}
/lists/{list_id}/segments/{segment_id}/members
Get information about members in a saved segment.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fields | query | optional | array | A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. |
| exclude_fields | query | optional | array | A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. |
| count | query | optional | integer | The number of records to return. Default value is 10. Maximum value is 1000 |
| offset | query | optional | integer | Used for pagination, this it the number of records from a collection to skip. Default value is 0. |
| list_id | path | required | string | The unique ID for the list. |
| segment_id | path | required | string | The unique id for the segment. |
| include_cleaned | query | optional | boolean | Include cleaned members in response |
| include_transactional | query | optional | boolean | Include transactional members in response |
| include_unsubscribed | query | optional | boolean | Include unsubscribed members in response |
An error generated by the Mailchimp API.
GET /lists/{list_id}/segments/{segment_id}/members
/lists/{list_id}/segments/{segment_id}/members
Add a member to a static segment.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| list_id | path | required | string | The unique ID for the list. |
| segment_id | path | required | string | The unique id for the segment. |
application/json
ListsAddMemberToSegmentRequest
| Property | Type | Required |
|---|---|---|
| email_address | string | required |
An error generated by the Mailchimp API.
POST /lists/{list_id}/segments/{segment_id}/members