Mailchimp · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Mailchimp Segments API

10 actions 10 updates phrasing extends openapi/mailchimp-segments-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Mailchimp's API. It is a proposal applied on top of the contract, not a document Mailchimp publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 10

$.info
$.paths['/3.0/segments'].get
$.paths['/3.0/segments'].post
$.paths['/3.0/segments/{segment_id}'].get
$.paths['/3.0/segments/{segment_id}'].delete
$.paths['/3.0/segments/{segment_id}'].patch
$.paths['/3.0/segments/{segment_id}/snapshots'].post
$.paths['/3.0/segments/{segment_id}/snapshots/{snapshot_id}'].get
$.paths['/3.0/segments/{segment_id}/snapshots/{snapshot_id}/members'].get
$.paths['/3.0/segments/{segment_id}/count'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Mailchimp Segments API
  version: 1.0.0
extends: openapi/mailchimp-segments-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-23'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 9
- target: $.paths['/3.0/segments'].get
  update:
    x-apievangelist-phrasing:
      intent: List segments of an audience
      effect: read
      questions:
      - What advanced segments have I built on my audience?
      - Can I see read-only segments like Google Analytics ones?
      instructions:
      - text: List segments of audience {list_id}.
        slots:
          list_id: query.list_id
      - text: Show {count} segments of {list_id} sorted by {sort_field}.
        slots:
          count: query.count
          list_id: query.list_id
          sort_field: query.sort_field
      method: generated
      generated: '2026-11-23'
- target: $.paths['/3.0/segments'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an advanced segment
      effect: write
      questions:
      - How do I build a segment from a segment definition?
      - Does my plan need advanced segmentation to create a segment?
      instructions:
      - text: Create segment {name} on audience {list_id} with definition {definition}.
        slots:
          name: requestBody.name
          list_id: requestBody.list_id
          definition: requestBody.definition
      - text: Build a new advanced segment {name} on {list_id} using {definition}.
        slots:
          name: requestBody.name
          list_id: requestBody.list_id
          definition: requestBody.definition
      method: generated
      generated: '2026-11-23'
- target: $.paths['/3.0/segments/{segment_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a segment's definition
      effect: read
      questions:
      - What conditions make up a segment I created?
      - Can I see the definition of a read-only segment?
      instructions:
      - text: Get segment {segment_id}.
        slots:
          segment_id: path.segment_id
      - text: Show the definition of segment {segment_id}.
        slots:
          segment_id: path.segment_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/3.0/segments/{segment_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an advanced segment
      effect: destructive
      questions:
      - How do I delete an advanced segment I no longer use?
      - Can I delete a read-only segment?
      instructions:
      - text: Delete segment {segment_id}.
        slots:
          segment_id: path.segment_id
      - text: Remove advanced segment {segment_id} from my audience.
        slots:
          segment_id: path.segment_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/3.0/segments/{segment_id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Rename or change a segment's definition
      effect: write
      questions:
      - Can I rename an existing segment?
      - How do I change the conditions of a segment I already made?
      instructions:
      - text: Rename segment {segment_id} to {name}.
        slots:
          segment_id: path.segment_id
          name: requestBody.name
      - text: Update the definition of segment {segment_id} to {definition}.
        slots:
          segment_id: path.segment_id
          definition: requestBody.definition
      method: generated
      generated: '2026-11-23'
- target: $.paths['/3.0/segments/{segment_id}/snapshots'].post
  update:
    x-apievangelist-phrasing:
      intent: Start a snapshot of a segment
      effect: write
      questions:
      - How do I capture a segment's members as a snapshot?
      - Can I snapshot a segment that isn't advanced?
      instructions:
      - text: Start a snapshot of segment {segment_id}.
        slots:
          segment_id: path.segment_id
      - text: Snapshot the members of segment {segment_id} now.
        slots:
          segment_id: path.segment_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/3.0/segments/{segment_id}/snapshots/{snapshot_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Check a segment snapshot's status
      effect: read
      questions:
      - Has my segment snapshot finished yet?
      - What status is a segment snapshot in?
      instructions:
      - text: Get the status of snapshot {snapshot_id} on segment {segment_id}.
        slots:
          snapshot_id: path.snapshot_id
          segment_id: path.segment_id
      - text: Check whether segment {segment_id}'s snapshot {snapshot_id} is ready.
        slots:
          segment_id: path.segment_id
          snapshot_id: path.snapshot_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/3.0/segments/{segment_id}/snapshots/{snapshot_id}/members'].get
  update:
    x-apievangelist-phrasing:
      intent: List contact IDs in a segment snapshot
      effect: read
      questions:
      - Which contact IDs are in a segment snapshot?
      - Can I page through a snapshot's member IDs?
      instructions:
      - text: List contact IDs in snapshot {snapshot_id} of segment {segment_id}.
        slots:
          snapshot_id: path.snapshot_id
          segment_id: path.segment_id
      - text: Get the next page of snapshot {snapshot_id} for segment {segment_id}.
        slots:
          snapshot_id: path.snapshot_id
          segment_id: path.segment_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/3.0/segments/{segment_id}/count'].get
  update:
    x-apievangelist-phrasing:
      intent: Count the members of a segment
      effect: read
      questions:
      - How many contacts are in a segment right now?
      - Does the segment count wait until it's calculated?
      instructions:
      - text: Count the members of segment {segment_id}.
        slots:
          segment_id: path.segment_id
      - text: Tell me how many contacts segment {segment_id} has.
        slots:
          segment_id: path.segment_id
      method: generated
      generated: '2026-11-23'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/mailchimp-segments-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.