campaigns
Add campaign
Create a new Mailchimp campaign.
post/3.0/campaigns
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.
Request body
Example request
{
"content_type": "template",
"recipients": {
"segment_opts": {
"conditions": [
{
"field": "aim",
"op": "open",
"value": "any"
}
]
}
}
}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.