search-campaigns
Search campaigns
Search all campaigns for the specified query terms.
get/3.0/search-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.
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.
querystring required
The search query used to filter results.
Response
Example response
{
"results": [
{
"campaign": {
"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.