SparkPost · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for SparkPost Templates API

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

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/templates'].get
$.paths['/templates'].post
$.paths['/templates/{id}'].get
$.paths['/templates/{id}'].put
$.paths['/templates/{id}'].delete
$.paths['/templates/{id}/preview'].post
$.paths['/utils/content-previewer'].post

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 SparkPost Templates API
  version: 1.0.0
extends: openapi/sparkpost-templates-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-19'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 7
- target: $.paths['/templates'].get
  update:
    x-apievangelist-phrasing:
      intent: List email templates
      effect: read
      questions:
      - What email templates have I saved in SparkPost?
      - Can I list only the draft templates or those shared with subaccounts?
      instructions:
      - text: List all my email templates.
      - text: List templates where draft is {draft}.
        slots:
          draft: query.draft
      - text: 'Show templates shared with subaccounts: {shared_with_subaccounts}.'
        slots:
          shared_with_subaccounts: query.shared_with_subaccounts
      method: generated
      generated: '2026-11-19'
- target: $.paths['/templates'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an email template
      effect: write
      questions:
      - How do I create a new HTML email template with text and AMP parts?
      - Can I share a new template with my subaccounts when I create it?
      instructions:
      - text: Create a template named {name} with content {content}.
        slots:
          name: requestBody.name
          content: requestBody.content
      - text: Create template {name} shared with subaccounts set to {shared_with_subaccounts}.
        slots:
          name: requestBody.name
          shared_with_subaccounts: requestBody.shared_with_subaccounts
      method: generated
      generated: '2026-11-19'
- target: $.paths['/templates/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Retrieve an email template
      effect: read
      questions:
      - How do I view the HTML and text parts of one saved template?
      - Can I fetch a template's draft instead of its published version?
      instructions:
      - text: Get template {id}.
        slots:
          id: path.id
      - text: Show the {draft} version of template {id}.
        slots:
          draft: query.draft
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/templates/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update an email template
      effect: write
      questions:
      - How do I edit the text or HTML of a template I already saved?
      - Can I publish a draft template in one update?
      instructions:
      - text: Update template {id} with content {content}.
        slots:
          id: path.id
          content: requestBody.content
      - text: Publish draft {id} by setting published to {published}.
        slots:
          id: path.id
          published: requestBody.published
      method: generated
      generated: '2026-11-19'
- target: $.paths['/templates/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an email template
      effect: destructive
      questions:
      - How do I permanently remove a saved template?
      - Can I delete a template by its ID?
      instructions:
      - text: Delete template {id}.
        slots:
          id: path.id
      - text: Remove the saved email template {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/templates/{id}/preview'].post
  update:
    x-apievangelist-phrasing:
      intent: Preview a template with substitution data
      effect: read
      questions:
      - How do I see what a saved template will look like with real substitution data?
      - Can I preview a draft template instead of the published one?
      instructions:
      - text: Preview template {id} with substitution data {substitution_data}.
        slots:
          id: path.id
          substitution_data: requestBody.substitution_data
      - text: Render draft {draft} of template {id} using {substitution_data}.
        slots:
          draft: query.draft
          id: path.id
          substitution_data: requestBody.substitution_data
      method: generated
      generated: '2026-11-19'
- target: $.paths['/utils/content-previewer'].post
  update:
    x-apievangelist-phrasing:
      intent: Preview inline template content without saving
      effect: read
      questions:
      - Can I preview an email template without saving it as a template?
      - How do I see how inline template content renders with substitution data?
      instructions:
      - text: Preview inline template content {content} with substitution data {substitution_data}.
        slots:
          content: requestBody.content
          substitution_data: requestBody.substitution_data
      - text: Render the inline template {content} without saving it.
        slots:
          content: requestBody.content
      method: generated
      generated: '2026-11-19'

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/sparkpost-templates-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.