Heron Email Templates API

The Email Templates API from Heron — 2 operation(s) for email templates.

Operations 3

GET /api/email_templates Get email templates #
POST /api/email_templates Create an email template #
PATCH /api/email_templates/{heron_id} Patch an email template #

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/heron-email-templates-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

heron-email-templates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: support@herondata.io
    name: Support
  title: Heron Data Email Templates API
  version: '2021-07-19'
servers:
- description: Production
  url: https://app.herondata.io
security:
- ApiKeyAuth:
  - key_XXX
tags:
- name: Email Templates
paths:
  /api/email_templates:
    get:
      description: Read all available templates
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  rules:
                    items:
                      $ref: '#/components/schemas/EmailTemplateSchema'
                    type: array
                type: object
          description: OK
      security:
      - ApiKeyAuth: []
      summary: Get email templates
      tags:
      - Email Templates
      operationId: getApiEmailTemplates
      x-operation-id-source: derived
    post:
      description: Create an email template used to send emails conditional on events like policy evaluation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmailTemplateSchema'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                properties:
                  email_template:
                    $ref: '#/components/schemas/EmailTemplateSchema'
                type: object
          description: OK
      security:
      - ApiKeyAuth: []
      summary: Create an email template
      tags:
      - Email Templates
      operationId: postApiEmailTemplates
      x-operation-id-source: derived
  /api/email_templates/{heron_id}:
    patch:
      description: Update an email template
      parameters:
      - in: path
        name: heron_id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmailTemplatePatchSchema'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                properties:
                  email_template:
                    $ref: '#/components/schemas/EmailTemplatePatchSchema'
                type: object
          description: OK
      security:
      - ApiKeyAuth: []
      summary: Patch an email template
      tags:
      - Email Templates
      operationId: patchApiEmailTemplatesByHeronId
      x-operation-id-source: derived
components:
  schemas:
    EmailTemplateSchema:
      additionalProperties: true
      properties:
        cc_address:
          description: The email address to CC
          type:
          - string
          - 'null'
        heron_id:
          description: Unique identifier for the email template
          readOnly: true
          type: string
        html_body:
          description: The body of the email to send.
          type: string
        name:
          description: Unique name of the email template. Used to match which email template to send. Only alphanumeric characters, underscores, and dashes are allowed.
          maxLength: 50
          minLength: 3
          pattern: ^[a-zA-Z0-9_-]+$
          type: string
        reply_to_address:
          description: The email address to reply to
          type:
          - string
          - 'null'
        to_address:
          description: The email address to send the email to
          type:
          - string
          - 'null'
      required:
      - html_body
      - name
      type: object
    EmailTemplatePatchSchema:
      additionalProperties: true
      properties:
        cc_address:
          description: The email address to CC
          type:
          - string
          - 'null'
        heron_id:
          description: Unique identifier for the email template
          readOnly: true
          type: string
        html_body:
          description: The body of the email to send.
          type: string
        name:
          description: Unique name of the email template. Used to match which email template to send. Only alphanumeric characters, underscores, and dashes are allowed.
          maxLength: 50
          minLength: 3
          pattern: ^[a-zA-Z0-9_-]+$
          type: string
        reply_to_address:
          description: The email address to reply to
          type:
          - string
          - 'null'
        to_address:
          description: The email address to send the email to
          type:
          - string
          - 'null'
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: x-api-key
      type: apiKey
externalDocs:
  description: Read Tutorial
  url: https://docs.herondata.io/