campaigns
Get campaign info
Get information about a specific campaign.
get/3.0/campaigns/{campaign_id}
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.
Path parameters
campaign_idstring required
The unique id for the campaign.
Query parameters
fieldsstring[]
A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.
exclude_fieldsstring[]
A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
include_resend_shortcut_eligibilityboolean
Return the resend_shortcut_eligibility field in the response, which tells you if the campaign is eligible for the various Campaign Resend Shortcuts offered.
include_resend_shortcut_usageboolean
Return the resend_shortcut_usage field in the response. This includes information about campaigns related by a shortcut.
Response
Example response
{
"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.