Skip to navigation

List messages

Get messages from a specific conversation. Conversations has been deprecated in favor of Inbox and these endpoints don’t include Inbox data. Past Conversations are still available via this endpoint, but new campaign replies and other Inbox messages aren’t available using this endpoint.

Authentication

AuthorizationBearer

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

OR
AuthorizationBearer
Authorization using OAuth

Path parameters

conversation_idstringRequired
The unique id for the conversation.

Query parameters

fieldslist of stringsOptional

A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.

exclude_fieldslist of stringsOptional

A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.

is_readenumOptional
Whether a conversation message has been marked as read.
Allowed values:
before_timestampdatetimeOptional

Restrict the response to messages created before the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00.

since_timestampdatetimeOptional

Restrict the response to messages created after the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00.

Response

This endpoint returns an object.
conversation_idstringOptional
A string that identifies this conversation.
conversation_messageslist of objectsOptional
An array of objects, each representing a conversation messages resources.
total_itemsintegerOptionalRead-only
The total number of items matching the query regardless of pagination.