List campaigns
Get all campaigns in an account.
Request
- Base URLhttps://api.mailchimp.com
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://login.mailchimp.com/oauth2/authorizeToken URLhttps://login.mailchimp.com/oauth2/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
The number of records to return. Default value is 10. Maximum value is 1000
Used for pagination, this is the number of records from a collection to skip. Default value is 0.
The campaign type.
The status of the campaign.
Restrict the response to campaigns sent before the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00.
Restrict the response to campaigns sent after the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00.
Restrict the response to campaigns created before the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00.
Restrict the response to campaigns created after the set time. Uses ISO 8601 time format: 2015-10-21T15:41:36+00:00.
The unique id for the list.
The unique folder id.
Retrieve campaigns sent to a particular list member. Member ID is The MD5 hash of the lowercase version of the list member’s email address.
Returns files sorted by the specified field.
Determines the order direction for sorted results.
Return the resend_shortcut_eligibility field in the response, which tells you if the campaign is eligible for the various Campaign Resend Shortcuts offered.
Return the resend_shortcut_usage field in the response. This includes information about campaigns related by a shortcut.
Response
Example response
{
"campaigns": [
{
"recipients": {
"segment_opts": {
"conditions": [
{
"field": "aim",
"op": "open",
"value": "any"
}
],
"prebuilt_segment_id": "subscribers-female"
}
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.