SAP Emarsys Email API

The Email API from SAP Emarsys — 34 operation(s) for email.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Digital Marketing Management BC-400.60

Operations 36

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v2/email/getcontacts Export a contact list as CSV · Export a Contact List #
Ask an LLM
“How do I export a contact list to CSV for a file download?”
“Can I choose the delimiter and language of a contact list export?”
Tell an agent
Export contact list {contactlist} with fields {contact_fields} as {distribution_method}.
Export {contactlist} to {email} as {distribution_method} with fields {contact_fields}.
POST /v2/email/getresponses Export email response data to CSV · Export Responses #
Ask an LLM
“How do I export contacts who replied to a campaign in a date range?”
“Can I choose the file format and language of the export?”
Tell an agent
Export responses to email {email_id} from {time_range} as {distribution_method}.
Export {sources} responses with fields {contact_fields} and analysis {analysis_fields}.
POST /v2/email/{emailId}/preview Preview an email campaign · Preview Email Campaign Contents #
Ask an LLM
“Can I see how an email will render in HTML, plain text or mobile?”
“What does a campaign look like before I send it?”
Tell an agent
Preview campaign {emailId} as {version}.
Render the {version} version of email {emailId}.
POST /v2/email/{emailId}/sendtestmail Send a test email to a recipient list · Send a Test Email #
Ask an LLM
“How do I send a test email to a segment or contact list?”
“Is there a limit on how many recipients a test email can have?”
Tell an agent
Send a test email {emailId} to segment {filter_id}.
Send a test of campaign {emailId} to contact list {contactlist_id}.
POST /v2/email/{emailId}/launch Launch an existing email campaign · Launch an Email Campaign #
Ask an LLM
“How do I send an email campaign to contacts already in the database?”
“Can I schedule an existing campaign to launch later?”
Tell an agent
Launch campaign {emailId}.
Launch {emailId} on {schedule} in {timezone}.
POST /v2/email/{emailId}/broadcast Launch an email to virtual contacts · Launch an Email Campaign to Virtual Contacts (Broadcast) #
Ask an LLM
“How do I send an email to a recipient who is not in the contact database?”
“What personalization data do I need to send a campaign to virtual contacts?”
Tell an agent
Send campaign {emailId} to virtual contact {email}.
Launch {emailId} to {email} with personalization {data}.
POST /v2/email/{emailId}/stop Stop an existing email campaign · Stop an Email Campaign #
Ask an LLM
“How do I stop a triggered email campaign that is still running?”
“Can I abort a transactional campaign that hasn't launched yet?”
Tell an agent destructive · confirm first
Stop campaign {emailId}.
Deactivate the running email {emailId}.
POST /v2/email/getdeliverystatus Check the delivery status of an email · Query Delivery Status #
Ask an LLM
“Did my email campaign get delivered to recipients?”
“How do I check the delivery status of a specific launch?”
Tell an agent
Check delivery status of campaign {emailId}.
Check delivery status of launch {launchId} of {emailId}.
POST /v2/email/responses Query email response metrics and deliverability · Query Email Response Metrics and Deliverability #
Ask an LLM
“How many recipients opened or clicked an email in a date range?”
“Can I get deliverability results for a campaign?”
Tell an agent
Query {type} metrics for campaign {campaign_id} from {start_date} to {end_date}.
Get response metrics of type {type}.
GET /v2/email/{queryId}/responses Get email response metrics and deliverability results · Get Email Response Metrics and Deliverability Results #
Ask an LLM
“Where do I fetch the results of a response metrics query?”
“How long are email response metric results available after the query?”
Tell an agent
Get the response metrics results for query {queryId}.
Fetch deliverability results of query {queryId}.
POST /v2/email/getlaunchesofemail List all launches of an email campaign · List Email Campaign Launches #
Ask an LLM
“Which launches have been run for an email campaign?”
“Can I see the launch date and status of each campaign run?”
Tell an agent
List all launches of campaign {emailId}.
Show launch history for email {emailId}.
GET /v2/email/{emailId}/personalization List personalization alternate texts · List Personalization Alternate Texts #
Ask an LLM
“What alternative values are set for personalization fields in an email?”
“Which personalization fields are omitted in a campaign?”
Tell an agent
List personalization alternate texts for campaign {emailId}.
Show omitted personalization values in {emailId}.
POST /v2/email/{emailId}/url Get the online URL of a launched email · Get the URL of a Launched Email Campaign Content #
Ask an LLM
“Can I get a link to the online version of a launched email for a contact?”
“What URL does a recipient see when they open a campaign?”
Tell an agent
Get the online URL of campaign {emailId} for {key_id} {key_value}.
Get the online version of {emailId} for contact {key_value} using {key_id}.
POST /v2/email/unsubscribe Unsubscribe a contact from an email · Unsubscribe a Contact from an Email Campaign #
Ask an LLM
“How do I register a contact's unsubscribe request for an email campaign?”
“Can I record an unsubscribe event for a contact without removing them yet?”
Tell an agent
Unsubscribe contact {contact_uid} from campaign {email_id} in launch {launch_list_id}.
Record an unsubscribe event for {contact_uid} on {email_id} via {launch_list_id}.
POST /v2/email Create an email campaign · Create an Email Campaign #
Ask an LLM
“How do I create a new email campaign with HTML and plain text?”
“Can I set the sender, subject and language when creating a campaign?”
Tell an agent
Create an email campaign {name} from {fromemail} ({fromname}) with subject {subject} in {language}.
Create campaign {name} with HTML {html_source} and text {text_source}.
GET /v2/email/ List email campaigns · List Email Campaigns #
Ask an LLM
“Which email campaigns exist in my account?”
“Can I list only campaigns that are still in design or have been launched?”
Tell an agent
List all email campaigns.
List campaigns with status {status} created between {fromdate} and {todate}.
GET /v2/email/{emailId}/ Get an email campaign's content and attributes · Get Email Campaign Data #
Ask an LLM
“What is the HTML and plain text source of an email campaign?”
“Can I get personalized text and attributes for a campaign?”
Tell an agent
Get the details of email campaign {emailId}.
Show the {raw_html} and {raw_text} sources of campaign {emailId}.
POST /v2/email/{emailId}/updatesource Set the recipient source of an email · Update an Email Campaign Recipient Source #
Ask an LLM
“How do I assign a segment or contact list as the recipient source of an email?”
“Can I exclude a segment from an email's recipient list?”
Tell an agent
Set the recipient source of campaign {emailId} to segment {filterId}.
Set campaign {emailId} to contact list {contactlistId} and exclude segment {excludeFilterId}.
POST /v2/email/{emailId}/patch Update an existing email campaign · Update an Email Campaign #
Ask an LLM
“How do I change the subject or sender of an email campaign?”
“Can I add link tracking parameters to an existing campaign?”
Tell an agent
Update campaign {emailId} with subject {subject}.
Set the sender of campaign {emailId} to {fromemail} ({fromname}).
POST /v2/email/delete Delete an email campaign · Delete an Email Campaign #
Ask an LLM
“How do I delete an email campaign?”
“Can I permanently remove a campaign from my account?”
Tell an agent destructive · confirm first
Delete email campaign {emailId}.
Remove campaign {emailId} from the account.
POST /v2/email/{emailId}/version Create a version of an email campaign · Version an Email Campaign #
Ask an LLM
“How do I create a child version of an email campaign for A/B testing?”
“Can I name a new version of a campaign that hasn't been versioned yet?”
Tell an agent
Create a version of email campaign {emailId} named {new_name}.
Version campaign {emailId} as {new_name}, originally called {original_name}.
POST /v2/email/{emailId}/finalize Finalize a multi-language email campaign · Finalize a Multi-language Email Campaign #
Ask an LLM
“How do I pick the winning language version of a multi-language campaign?”
“What happens to contacts in each country after a multilingual campaign is finalized?”
Tell an agent
Finalize multilingual email campaign {emailId}.
Choose the winning language version of campaign {emailId} and send it to contacts in each country.
POST /v2/email/{emailId}/copy Copy an email campaign · Copy an Email Campaign #
Ask an LLM
“Can I make a copy of an email campaign with a new name?”
“Is it possible to duplicate a campaign without renaming it?”
Tell an agent
Copy email campaign {emailId} as {name}.
Duplicate campaign {emailId} with a generated name.
GET /v2/email/{campaign_id}/programs List automation programs using a campaign · List AC Programs That Use an Email Campaign #
Ask an LLM
“Which automation programs use a given email campaign?”
“Can I find the AC programs that send a specific campaign?”
Tell an agent
List the automation programs that use email campaign {campaign_id}.
Show every AC program sending campaign {campaign_id}.
GET /api/email/reporting/v1/contacts/{contactId}/deliveryResults Get a contact's email delivery results · Get delivery results #
Ask an LLM
“Did a specific contact receive an email in a given date range?”
“Can I pull delivery results for one contact over a period?”
Tell an agent
Get delivery results for contact {contactId} between {startDate} and {endDate}.
Show whether contact {contactId} opened or bounced the email in {startDate} to {endDate}.
GET /v2/email/templates List email templates · List Email Templates #
Ask an LLM
“What email templates are available in my account?”
“Can I get the names and IDs of all email templates?”
Tell an agent
List all email templates.
Show every email template with its name and ID.
GET /v2/email/templates/{templateId} Get an email template · Get an Email Template #
Ask an LLM
“Can I fetch the content of one email template?”
“What does a specific email template contain?”
Tell an agent
Get email template {templateId}.
Show the content of template {templateId}.
POST /v2/email/{emailId}/sections Add a section to a template-based campaign · Create a Section in a Template-based Email Campaign #
Ask an LLM
“How do I add a new section to a template-based email campaign?”
“Can I insert a section with custom data into a template campaign?”
Tell an agent
Add a section to template-based email campaign {emailId}.
Create a section in template campaign {emailId} with data {data}.
GET /v2/email/{emailId}/sections List sections in a template-based campaign · List Sections in a Template-based Email Campaign #
Ask an LLM
“Which sections are used in a template-based email campaign?”
“Can I see the section IDs in a template campaign?”
Tell an agent
List sections in template-based email campaign {emailId}.
Show every section used by template campaign {emailId}.
GET /v2/email/{emailId}/sections/{sectionId} Get a section of a template-based campaign · Get a Section of a Template-based Email Campaign #
Ask an LLM
“Can I view the details of one section in a template campaign?”
“What content does a specific section of a template-based email campaign hold?”
Tell an agent
Get section {sectionId} of template-based email campaign {emailId}.
Show the content of section {sectionId} in template campaign {emailId}.
POST /v2/email/{emailId}/sections/{sectionId} Update a section of a template-based campaign · Update a Section of a Template-based Email Campaign #
Ask an LLM
“How do I change the content of a section in a template-based email campaign?”
“Can I edit a section's data after it's added to a template campaign?”
Tell an agent
Update section {sectionId} of template-based email campaign {emailId}.
Change the data in section {sectionId} of template campaign {emailId} to {data}.
POST /v2/email/{emailId}/sections/{sectionId}/delete Delete a section from a template-based campaign · Delete a Section from a Template-based Email Campaign #
Ask an LLM
“How do I remove a section from a template-based email campaign?”
“Can I delete a section from a template campaign by its ID?”
Tell an agent destructive · confirm first
Delete section {sectionId} from template-based email campaign {emailId}.
Remove section {sectionId} from template campaign {emailId}.
POST /v2/email/{emailId}/trackedlinks Add a tracked link to an email campaign section · Create a Tracked Link in an Email Campaign #
Ask an LLM
“How do I add a tracked link to a section of an email campaign?”
“Can I track a URL by adding it to an email campaign section?”
Tell an agent
Add tracked link {url} to section {section_id} of email campaign {emailId}.
Track {url} in section {section_id} of campaign {emailId}.
GET /v2/email/{emailId}/trackedlinks/{relativeId} List tracked links in an email campaign · List Tracked Links in an Email Campaign #
Ask an LLM
“Which links are being tracked in an email campaign?”
“Can I see one tracked link by its relative ID?”
Tell an agent
List tracked links in email campaign {emailId}.
Show tracked link {relativeId} in campaign {emailId}.
POST /v2/email/{emailId}/trackedlinks/{linkId} Change a tracked link's URL · Update a Tracked Link in an Email Campaign #
Ask an LLM
“How do I change the URL of a tracked link in an email campaign?”
“Can I update a tracked link without touching its section?”
Tell an agent
Update tracked link {linkId} in email campaign {emailId} to {url}.
Point tracked link {linkId} in campaign {emailId} at {url}.
POST /v2/email/{emailId}/deletetrackedlinks/{linkId} Stop tracking a link in an email campaign · Delete a Tracked Link in an Email Campaign #
Ask an LLM
“How do I stop tracking a specific link in an email campaign?”
“Can I delete all tracked links from a campaign?”
Tell an agent destructive · confirm first
Stop tracking link {linkId} in email campaign {emailId}.
Delete all tracked links from campaign {emailId}.

Documentation

📖
Documentation
https://dev.emarsys.com/
📖
APIReference
https://dev.emarsys.com/docs/core-api-reference/43noz8h08gqdv-emarsys-core-api-accounts-endpoint-batch
📖
Authentication
https://dev.emarsys.com/docs/emarsys-core-api-guides/b3c3a1eba8515-authentication
📖
APIReference
https://dev.emarsys.com/docs/core-api-reference/vq6ozhk87xpct-emarsys-core-api-auto-import-profiles-endpoint-batch
📖
APIReference
https://dev.emarsys.com/docs/core-api-reference/b8bkfdpzdnrmn-bulk-response-summary
📖
APIReference
https://dev.emarsys.com/docs/core-api-reference/f2udgdha9qqax-emarsys-core-api-conditional-text-rules-endpoint-batch
📖
APIReference
https://dev.emarsys.com/docs/core-api-reference/jxv7xghhduivk-emarsys-core-api-contact-and-email-data-endpoint-batch
📖
APIReference
https://dev.emarsys.com/docs/core-api-reference/czeg4wbctz2ey-emarsys-core-api-contact-lists-endpoint-batch
📖
APIReference
https://dev.emarsys.com/docs/core-api-reference/nbmm6cavfbful-emarsys-core-api-contact-sources-endpoint-batch
📖
APIReference
https://dev.emarsys.com/docs/core-api-reference/vhlytrvjmpva3-emarsys-core-api-contacts-endpoint-batch
📖
APIReference
https://dev.emarsys.com/docs/core-api-reference/111vbiacis1pw-emarsys-core-api-email-campaign-lifecycle-endpoint-batch
📖
APIReference
https://dev.emarsys.com/docs/core-api-reference/9mp221uux5ijk-emarsys-core-api-email-campaigns-endpoint-batch
📖
APIReference
https://dev.emarsys.com/docs/core-api-reference/jntjf6yd8bbyp-email-reporting-api
📖
APIReference
https://dev.emarsys.com/docs/core-api-reference/ywep93d8zjj38-emarsys-core-api-email-templates-endpoint-batch
📖
APIReference
https://dev.emarsys.com/docs/core-api-reference/a9elofmiccck4-emarsys-core-api-events-endpoint-batch
📖
APIReference
https://dev.emarsys.com/docs/core-api-reference/7nxw96vrmb8uy-emarsys-core-api-external-content-endpoint-batch
📖
APIReference
https://dev.emarsys.com/docs/core-api-reference/mtzemy547drl7-emarsys-core-api-fields-endpoint-batch
📖
APIReference
https://dev.emarsys.com/docs/core-api-reference/k53pb4h4cekls-emarsys-core-api-forms-endpoint-batch
📖
APIReference
https://dev.emarsys.com/docs/core-api-reference/j2c7sbanej44c-emarsys-core-api-keys-endpoint-batch
📖
APIReference
https://dev.emarsys.com/docs/core-api-reference/o26j9gs8fjm9q-emarsys-core-api-media-database-endpoint-batch
📖
APIReference
https://dev.emarsys.com/docs/core-api-reference/mzyq7rihy8uv9-emarsys-core-api-programs-endpoint-batch
📖
APIReference
https://dev.emarsys.com/docs/core-api-reference/0h26fkyuh837z-emarsys-core-api-relational-data-endpoint-batch
📖
APIReference
https://dev.emarsys.com/docs/core-api-reference/14tmor5bfxbov-emarsys-core-api-sections-endpoint-batch
📖
APIReference
https://dev.emarsys.com/docs/core-api-reference/ehr0tded4ctcw-emarsys-core-api-segments-endpoint-batch
📖
APIReference
https://emartech.github.io/sms-partner-api-spec/
📖
APIReference
https://dev.emarsys.com/docs/core-api-reference/4kmyl4vlpf9mv-emarsys-core-api-tracked-links-endpoint-batch

Specifications

Other Resources

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/emarsys:emarsys-email-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

emarsys-email-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Emarsys Email API
  version: '1.0'
  description: 'Operations tagged Email across 7 of this provider''s published API definitions: emarsys-contact-and-email-data-openapi.yml, emarsys-email-campaign-lifecycle-openapi.yml, emarsys-email-campaigns-openapi.yml, emarsys-email-reporting-api-openapi.yml, emarsys-email-templates-openapi.yml, emarsys-sections-openapi.yml, emarsys-tracked-links-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.emarsys.net/api
- url: https://api.emarsys.net
  description: Public API
tags:


# --- truncated at 32 KB (144 KB total) ---
# Full source: https://artifacts.apis.io/emarsys/openapi/emarsys-email-api-openapi.yml