Templated Images API

Image upload and management

GitHub OpenAPI

Operations 1

POST /accounts/{slug}/images Upload an image #

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-images-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-images-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Templated Images 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: Images
  description: Image upload and management
paths:
  /accounts/{slug}/images:
    parameters:
    - $ref: '#/components/parameters/AccountSlug'
    post:
      operationId: uploadImage
      tags:
      - Images
      summary: Upload an image
      description: Upload an image for use in email templates. Stored on CDN.
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
              - file
              properties:
                file:
                  type: string
                  format: binary
                  description: Image file (PNG, JPEG, GIF, WebP, SVG)
      responses:
        '201':
          description: Image uploaded
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                    format: uri
                  key:
                    type: string
                  size:
                    type: integer
                  contentType:
                    type: string
                  width:
                    type: integer
                  height:
                    type: integer
        '400':
          description: No file, invalid type, or exceeds size limit
        '503':
          description: Image storage not configured
components:
  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