lists
Add segment
Create a new segment in a specific list.
post/3.0/lists/{list_id}/segments
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
list_idstring required
The unique ID for the list.
Request body
Example request
{
"options": {
"conditions": [
{
"field": "aim",
"op": "open",
"value": "any"
}
]
}
}Response
Example response
{
"options": {
"conditions": [
{
"field": "aim",
"op": "open",
"value": "any"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.