Templated Testing API

Test sends and email client compatibility

GitHub OpenAPI

Operations 2

POST /accounts/{slug}/send-test-email Send a test email to yourself #
POST /compatibility Check email client compatibility #

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/templated-email:templated-email-testing-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

templated-email-testing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Templated Testing API
  version: 1.0.0
  description: 'The Templated API gives you programmatic access to the AI-powered email template platform.

    Create, manage, and generate email templates, manage brand assets, and integrate with

    third-party design tools.


    ## Authentication

    Authenticate with an API key (`Authorization: Bearer tmpl_sk_...`) created under

    Integrations → API Keys in the app, or with a session cookie when calling from the

    signed-in web app. Keys are scoped to a single account and act with editor permissions.


    ## Base URL

    All requests are made to `https://app.templated.email/api`.'
  contact:
    name: Templated Support
    email: support@templated.email
  license:
    name: Proprietary
servers:
- url: https://app.templated.email/api
  description: Production
security:
- bearerAuth: []
- sessionCookie: []
tags:
- name: Testing
  description: Test sends and email client compatibility
paths:
  /accounts/{slug}/send-test-email:
    parameters:
    - $ref: '#/components/parameters/AccountSlug'
    post:
      operationId: sendTestEmail
      tags:
      - Testing
      summary: Send a test email to yourself
      description: 'Sends the supplied HTML to the authenticated user''s own verified email address with a `[Test]`

        subject prefix. The recipient cannot be chosen. Requires template:export permission.

        Rate limited to 15 sends per hour per user.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - html
              properties:
                html:
                  type: string
                  maxLength: 1000000
                  description: Rendered email HTML
                text:
                  type: string
                  description: Plain-text alternative
                subject:
                  type: string
                  maxLength: 200
                templateId:
                  type: string
                  description: For audit logging only
      responses:
        '200':
          description: Test email sent
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      sent:
                        type: boolean
                      to:
                        type: string
        '403':
          description: Email unverified (EMAIL_UNVERIFIED) or insufficient permissions
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          description: Send failed (SEND_FAILED)
  /compatibility:
    post:
      operationId: checkCompatibility
      tags:
      - Testing
      summary: Check email client compatibility
      description: 'Runs caniemail-based checks against email HTML and reports features that may not render

        correctly across clients. Session-authenticated but not account-scoped.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - html
              properties:
                html:
                  type: string
                  maxLength: 512000
                plan:
                  type: string
                  enum:
                  - free
                  - pro
                  - business
                  default: free
                  description: Client coverage tier — higher tiers check more clients
      responses:
        '200':
          description: Compatibility report
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    description: Per-feature support breakdown across checked email clients
        '400':
          $ref: '#/components/responses/BadRequest'
components:
  responses:
    BadRequest:
      description: Invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Rate limit exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      headers:
        Retry-After:
          schema:
            type: integer
          description: Seconds until rate limit resets
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message
        details:
          type: object
          additionalProperties:
            type: string
          description: Field-level validation errors
  parameters:
    AccountSlug:
      name: slug
      in: path
      required: true
      schema:
        type: string
      description: Account slug identifier
      example: my-company
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: tmpl_sk_...
      description: API key created under Integrations → API Keys. Account-scoped, editor permissions.
    sessionCookie:
      type: apiKey
      in: cookie
      name: next-auth.session-token
      description: Session cookie obtained after signing in