SAP Emarsys · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Emarsys Core API - Segments endpoint batch Filter API
12 actions
12 updates
phrasing
extends
openapi/emarsys-filter-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for SAP Emarsys's API. It is a proposal applied on top of the contract, not a document SAP Emarsys publishes.
What the actions change
x-apievangelist-phrasing
Targets 12
$.info
$.paths['/v2/filter'].put
$.paths['/v2/filter/{segmentId}'].get
$.paths['/v2/filter/{segmentId}/contact_criteria'].get
$.paths['/v2/filter/{segmentId}/contact_criteria'].put
$.paths['/v2/filter/{segmentId}/delete'].get
$.paths['/v2/filter/{segmentId}/contacts/count'].get
$.paths['/v2/filter/{segmentId}/contacts/{contactId}'].get
$.paths['/v2/filter/{segmentId}/single_runs'].post
$.paths['/v2/filter/single_runs/{runId}'].get
$.paths['/v2/filter/{segmentId}/runs'].post
$.paths['/v2/filter/runs/{runId}'].get
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Emarsys Core API - Segments endpoint batch Filter API
version: 1.0.0
extends: openapi/emarsys-filter-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-22'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 11
- target: $.paths['/v2/filter'].put
update:
x-apievangelist-phrasing:
intent: Create a contact segment
effect: write
questions:
- How do I create a segment of contacts who opened a certain email?
- Can I base a segment on a contact list and email behavior criteria?
instructions:
- text: Create a segment named {name} with contact criteria {contactCriteria}.
slots:
name: requestBody.name
contactCriteria: requestBody.contactCriteria
- text: Create segment {name} from contact list {baseContactListId} using behavior criteria {behaviourCriteria}.
slots:
name: requestBody.name
baseContactListId: requestBody.baseContactListId
behaviourCriteria: requestBody.behaviourCriteria
method: generated
generated: '2026-11-22'
- target: $.paths['/v2/filter/{segmentId}'].get
update:
x-apievangelist-phrasing:
intent: List contact segments
effect: read
questions:
- Which contact segments have I defined?
- Can I look up a segment by its ID?
instructions:
- text: List all my contact segments.
- text: Show segment {segmentId}.
slots:
segmentId: path.segmentId
method: generated
generated: '2026-11-22'
- target: $.paths['/v2/filter/{segmentId}/contact_criteria'].get
update:
x-apievangelist-phrasing:
intent: Get a segment's contact criteria
effect: read
questions:
- What contact criteria define a segment?
- How do I see the rules behind a segment?
instructions:
- text: Get the contact criteria of segment {segmentId}.
slots:
segmentId: path.segmentId
- text: Show the rules used to build segment {segmentId}.
slots:
segmentId: path.segmentId
method: generated
generated: '2026-11-22'
- target: $.paths['/v2/filter/{segmentId}/contact_criteria'].put
update:
x-apievangelist-phrasing:
intent: Update a segment's contact criteria
effect: write
questions:
- Can I change the contact rules of an existing segment?
- How do I add a new conjunction to a segment's criteria?
instructions:
- text: Update the contact criteria of segment {segmentId} to {children}.
slots:
segmentId: path.segmentId
children: requestBody.children
- text: Set the conjunction type {type} on segment {segmentId}'s criteria.
slots:
type: requestBody.type
segmentId: path.segmentId
method: generated
generated: '2026-11-22'
- target: $.paths['/v2/filter/{segmentId}/delete'].get
update:
x-apievangelist-phrasing:
intent: Delete a contact segment
effect: destructive
questions:
- How do I delete a segment I no longer need?
- Can I remove a segment by its ID?
instructions:
- text: Delete segment {segmentId}.
slots:
segmentId: path.segmentId
- text: Remove the contact segment {segmentId}.
slots:
segmentId: path.segmentId
method: generated
generated: '2026-11-22'
- target: $.paths['/v2/filter/{segmentId}/contacts/count'].get
update:
x-apievangelist-phrasing:
intent: Count contacts in a segment
effect: read
questions:
- How many contacts are in a segment?
- Why does the contact count take time to return?
instructions:
- text: Count the contacts in segment {segmentId}.
slots:
segmentId: path.segmentId
- text: Tell me how many people segment {segmentId} includes.
slots:
segmentId: path.segmentId
method: generated
generated: '2026-11-22'
- target: $.paths['/v2/filter/{segmentId}/contacts/{contactId}'].get
update:
x-apievangelist-phrasing:
intent: Check if a contact is in a segment
effect: read
questions:
- Is a particular contact included in a segment?
- Can I test one contact against a segment's rules?
instructions:
- text: Check whether contact {contactId} is in segment {segmentId}.
slots:
contactId: path.contactId
segmentId: path.segmentId
- text: Look up contact {contactId} in segment {segmentId}.
slots:
contactId: path.contactId
segmentId: path.segmentId
method: generated
generated: '2026-11-22'
- target: $.paths['/v2/filter/{segmentId}/single_runs'].post
update:
x-apievangelist-phrasing:
intent: Run a segment on one contact
effect: write
questions:
- How do I check a single contact against a segment's rules?
- Can I start a segment run for one person?
instructions:
- text: Run segment {segmentId} on contact {contact_id}.
slots:
segmentId: path.segmentId
contact_id: query.contact_id
- text: Check whether contact {contact_id} matches segment {segmentId}.
slots:
contact_id: query.contact_id
segmentId: path.segmentId
method: generated
generated: '2026-11-22'
- target: $.paths['/v2/filter/single_runs/{runId}'].get
update:
x-apievangelist-phrasing:
intent: Check a single-contact segment run
effect: read
questions:
- Has the single-contact segment run finished?
- Did the one contact pass the segment rules?
instructions:
- text: Poll the status of single-contact run {runId}.
slots:
runId: path.runId
- text: Check whether run {runId} for one contact is done.
slots:
runId: path.runId
method: generated
generated: '2026-11-22'
- target: $.paths['/v2/filter/{segmentId}/runs'].post
update:
x-apievangelist-phrasing:
intent: Run a segment on many contacts
effect: write
questions:
- How do I calculate which contacts a segment includes across my list?
- Can I start a segment run for a whole contact list?
instructions:
- text: Run segment {segmentId} on my whole contact list.
slots:
segmentId: path.segmentId
- text: Start a batch segment calculation for segment {segmentId}.
slots:
segmentId: path.segmentId
method: generated
generated: '2026-11-22'
- target: $.paths['/v2/filter/runs/{runId}'].get
update:
x-apievangelist-phrasing:
intent: Check a batch segment run
effect: read
questions:
- Has the batch segment run finished?
- Which contacts were included in the segment run?
instructions:
- text: Poll the status of batch run {runId}.
slots:
runId: path.runId
- text: Check whether segment run {runId} is complete.
slots:
runId: path.runId
method: generated
generated: '2026-11-22'
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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/emarsys-filter-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.