Templated Fonts API

Custom font upload and Google Fonts

GitHub OpenAPI

Operations 5

GET /accounts/{slug}/fonts List custom fonts #
POST /accounts/{slug}/fonts Upload a custom font #
GET /accounts/{slug}/fonts/{fontId} Get a font #
DELETE /accounts/{slug}/fonts/{fontId} Delete a font #
GET /fonts/google Browse Google Fonts #

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-fonts-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-fonts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Templated Fonts 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: Fonts
  description: Custom font upload and Google Fonts
paths:
  /accounts/{slug}/fonts:
    parameters:
    - $ref: '#/components/parameters/AccountSlug'
    get:
      operationId: listFonts
      tags:
      - Fonts
      summary: List custom fonts
      description: Returns all custom fonts uploaded to the account.
      responses:
        '200':
          description: List of fonts
          content:
            application/json:
              schema:
                type: object
                properties:
                  fonts:
                    type: array
                    items:
                      $ref: '#/components/schemas/Font'
        '403':
          $ref: '#/components/responses/Forbidden'
    post:
      operationId: uploadFont
      tags:
      - Fonts
      summary: Upload a custom font
      description: 'Upload a font file or register an external font reference.

        Plan limits: Free (0), Pro (10), Business (50).'
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              required:
              - file
              - familyName
              properties:
                file:
                  type: string
                  format: binary
                  description: Font file (WOFF2, WOFF, TTF, OTF)
                familyName:
                  type: string
                weight:
                  type: string
                style:
                  type: string
                category:
                  type: string
                fallbackStack:
                  type: string
          application/json:
            schema:
              type: object
              required:
              - familyName
              - source
              properties:
                familyName:
                  type: string
                source:
                  type: string
                  example: adobe-fonts
                externalId:
                  type: string
                weight:
                  type: integer
                style:
                  type: string
                category:
                  type: string
                fallbackStack:
                  type: string
      responses:
        '201':
          description: Font uploaded
          content:
            application/json:
              schema:
                type: object
                properties:
                  font:
                    $ref: '#/components/schemas/Font'
        '403':
          description: Plan doesn't support custom fonts or font limit reached
        '503':
          description: Font storage not configured
  /accounts/{slug}/fonts/{fontId}:
    parameters:
    - $ref: '#/components/parameters/AccountSlug'
    - name: fontId
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: getFont
      tags:
      - Fonts
      summary: Get a font
      responses:
        '200':
          description: Font details
          content:
            application/json:
              schema:
                type: object
                properties:
                  font:
                    $ref: '#/components/schemas/Font'
        '404':
          $ref: '#/components/responses/NotFound'
    delete:
      operationId: deleteFont
      tags:
      - Fonts
      summary: Delete a font
      description: Removes the font and its file from storage.
      responses:
        '200':
          description: Font deleted
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
        '404':
          $ref: '#/components/responses/NotFound'
  /fonts/google:
    get:
      operationId: listGoogleFonts
      tags:
      - Fonts
      summary: Browse Google Fonts
      description: Search and browse Google Fonts. Results are cached for 24 hours.
      security: []
      parameters:
      - name: q
        in: query
        schema:
          type: string
        description: Search query to filter fonts
      responses:
        '200':
          description: Font list
          content:
            application/json:
              schema:
                type: object
                properties:
                  fonts:
                    type: array
                    items:
                      type: object
                      properties:
                        family:
                          type: string
                        category:
                          type: string
                        variants:
                          type: array
                          items:
                            type: string
                  total:
                    type: integer
        '502':
          description: Failed to fetch Google Fonts catalog
components:
  parameters:
    AccountSlug:
      name: slug
      in: path
      required: true
      schema:
        type: string
      description: Account slug identifier
      example: my-company
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message
        details:
          type: object
          additionalProperties:
            type: string
          description: Field-level validation errors
    Font:
      type: object
      properties:
        id:
          type: string
        familyName:
          type: string
        weight:
          type: string
          nullable: true
        style:
          type: string
          nullable: true
        category:
          type: string
          nullable: true
        source:
          type: string
          nullable: true
        fileUrl:
          type: string
          nullable: true
        fallbackStack:
          type: string
          nullable: true
        createdAt:
          type: string
          format: date-time
  responses:
    Forbidden:
      description: Insufficient permissions
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  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