Automattic Typekit Fonts API

The typekit-fonts API from Automattic — 5 operation(s) for typekit-fonts.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 11

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /wpcom/v2/sites/{wpcom_site}/typekit-fonts Create a Typekit kit for a site · POST /wpcom/v2/sites/{wpcom_site}/typekit-fonts #
Ask an LLM
“How do I add a Typekit kit to my WordPress.com site?”
“Can I choose which font families and subset a new Typekit kit uses?”
Tell an agent
Create Typekit kit {name} on site {wpcom_site} using families {families}, subset {subset}, domains {domains}.
Add a new Typekit kit {name} to {wpcom_site} with families {families}, subset {subset}, domains {domains}.
GET /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{domain}/previewkit Preview a Typekit kit for a domain · GET /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{domain}/previewkit #
Ask an LLM
“Can I see how a Typekit kit renders on a specific domain before adding it?”
“Is there a preview kit for a domain on my site?”
Tell an agent
Get the preview kit for domain {domain} on site {wpcom_site}.
Show how Typekit kit {domain} would render on {wpcom_site}.
GET /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{fontId}/family Get one font family from a Typekit kit · GET /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{fontId}/family #
Ask an LLM
“What font families are in a Typekit kit?”
“Can I look up a single font family by its ID?”
Tell an agent
Get the family of Typekit font {fontId} on site {wpcom_site}.
Show which font family {fontId} belongs to on {wpcom_site}.
GET /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId} Get a Typekit kit · GET /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId} #
Ask an LLM
“What families and subset does a Typekit kit use?”
“Can I view one Typekit kit by its ID?”
Tell an agent
Get Typekit kit {kitId} on site {wpcom_site}.
Show the families and subset of Typekit kit {kitId} on {wpcom_site}.
DELETE /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId} Delete a Typekit kit · DELETE /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId} #
Ask an LLM
“How do I remove a Typekit kit from my site?”
“Can I delete a Typekit kit by its ID?”
Tell an agent destructive · confirm first
Delete Typekit kit {kitId} from site {wpcom_site}.
Remove Typekit kit {kitId} on {wpcom_site}.
POST /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId} Update a Typekit kit's domains · POST /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId} #
Ask an LLM
“Can I change which domains a Typekit kit is served on?”
“How do I add a new domain to an existing Typekit kit?”
Tell an agent
Update the domains of Typekit kit {kitId} on site {wpcom_site} to {domains}, keeping name {name}, families {families}, subset {subset}.
Add {domains} to Typekit kit {kitId} on {wpcom_site}, keeping {name}, families {families}, subset {subset}.
PUT /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId} Replace a Typekit kit · PUT /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId} #
Ask an LLM
“How do I overwrite a Typekit kit's families and subset?”
“Can I replace a Typekit kit's domains entirely?”
Tell an agent
Replace Typekit kit {kitId} on site {wpcom_site} with families {families}, subset {subset}, domains {domains}, name {name}.
Overwrite Typekit kit {kitId} on {wpcom_site} using {name}, families {families}, subset {subset}, domains {domains}.
PATCH /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId} Update a Typekit kit's families · PATCH /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId} #
Ask an LLM
“Can I change which font families a Typekit kit includes?”
“How do I add a new font family to an existing Typekit kit?”
Tell an agent
Patch Typekit kit {kitId} on site {wpcom_site} to include families {families}, keeping name {name}, subset {subset}, domains {domains}.
Add {families} to Typekit kit {kitId} on {wpcom_site}, keeping {name}, subset {subset}, domains {domains}.
POST /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId}/publish Publish a Typekit kit (POST) · POST /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId}/publish #
Ask an LLM
“Is there a POST method to publish a Typekit kit?”
“Can I publish a Typekit kit with a POST request?”
Tell an agent
POST-publish Typekit kit {kitId} on site {wpcom_site}.
Use the POST publish action on Typekit kit {kitId} for {wpcom_site}.
PUT /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId}/publish Publish a Typekit kit · PUT /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId}/publish #
Ask an LLM
“How do I publish a Typekit kit so it starts serving fonts?”
“Can I publish a Typekit kit by its ID?”
Tell an agent
Publish Typekit kit {kitId} on site {wpcom_site}.
Make Typekit kit {kitId} live on {wpcom_site}.
PATCH /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId}/publish Publish a Typekit kit (PATCH) · PATCH /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId}/publish #
Ask an LLM
“Can I publish a Typekit kit with a PATCH request?”
“Which PATCH action publishes a Typekit kit?”
Tell an agent
PATCH-publish Typekit kit {kitId} on site {wpcom_site}.
Send a PATCH publish to Typekit kit {kitId} for {wpcom_site}.

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/automattic:automattic-typekit-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

automattic-typekit-fonts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WordPress.com REST API — wpcom/v2 namespace Typekit Fonts…
  version: v2
  description: Derived by API Evangelist from the WordPress.com REST API route index published at https://public-api.wordpress.com/wpcom/v2/. Paths, HTTP methods, and parameter names/types/descriptions/defaults are taken verbatim from that index. Response schemas are not published in the route index, so successful responses are described but not schematised; the error envelope was observed live on public-api.wordpress.com.
  contact:
    name: Automattic
    url: https://developer.wordpress.com/docs/api/
  x-derived-from: https://public-api.wordpress.com/wpcom/v2/
  x-derived-by: API Evangelist enrichment pipeline
servers:
- url: https://public-api.wordpress.com
security:
- bearerAuth: []
tags:
- name: typekit-fonts
paths:
  /wpcom/v2/sites/{wpcom_site}/typekit-fonts:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteTypekitFonts
      summary: POST /wpcom/v2/sites/{wpcom_site}/typekit-fonts
      tags:
      - typekit-fonts
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                domains: {}
                name: {}
                subset: {}
                families: {}
              required:
              - domains
              - name
              - subset
              - families
  /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{domain}/previewkit:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteTypekitFontsbyDomainPreviewkit
      summary: GET /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{domain}/previewkit
      tags:
      - typekit-fonts
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: domain
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{fontId}/family:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteTypekitFontsbyFontidFamily
      summary: GET /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{fontId}/family
      tags:
      - typekit-fonts
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: fontId
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId}:
    get:
      operationId: getWpcomV2SitesbyWpcomSiteTypekitFontsbyKitid
      summary: GET /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId}
      tags:
      - typekit-fonts
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: kitId
        in: path
        required: true
        schema:
          type: string
    delete:
      operationId: deleteWpcomV2SitesbyWpcomSiteTypekitFontsbyKitid
      summary: DELETE /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId}
      tags:
      - typekit-fonts
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: kitId
        in: path
        required: true
        schema:
          type: string
    post:
      operationId: postWpcomV2SitesbyWpcomSiteTypekitFontsbyKitid
      summary: POST /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId}
      tags:
      - typekit-fonts
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: kitId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                domains: {}
                name: {}
                subset: {}
                families: {}
              required:
              - domains
              - name
              - subset
              - families
    put:
      operationId: putWpcomV2SitesbyWpcomSiteTypekitFontsbyKitid
      summary: PUT /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId}
      tags:
      - typekit-fonts
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: kitId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                domains: {}
                name: {}
                subset: {}
                families: {}
              required:
              - domains
              - name
              - subset
              - families
    patch:
      operationId: patchWpcomV2SitesbyWpcomSiteTypekitFontsbyKitid
      summary: PATCH /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId}
      tags:
      - typekit-fonts
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: kitId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                domains: {}
                name: {}
                subset: {}
                families: {}
              required:
              - domains
              - name
              - subset
              - families
  /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId}/publish:
    post:
      operationId: postWpcomV2SitesbyWpcomSiteTypekitFontsbyKitidPublish
      summary: POST /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId}/publish
      tags:
      - typekit-fonts
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: kitId
        in: path
        required: true
        schema:
          type: string
    put:
      operationId: putWpcomV2SitesbyWpcomSiteTypekitFontsbyKitidPublish
      summary: PUT /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId}/publish
      tags:
      - typekit-fonts
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: kitId
        in: path
        required: true
        schema:
          type: string
    patch:
      operationId: patchWpcomV2SitesbyWpcomSiteTypekitFontsbyKitidPublish
      summary: PATCH /wpcom/v2/sites/{wpcom_site}/typekit-fonts/{kitId}/publish
      tags:
      - typekit-fonts
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: wpcom_site
        in: path
        required: true
        schema:
          type: string
      - name: kitId
        in: path
        required: true
        schema:
          type: string
components:
  schemas:
    WPRestError:
      type: object
      description: WordPress REST API error envelope (observed on public-api.wordpress.com).
      properties:
        code:
          type: string
          example: rest_unauthorized
        message:
          type: string
          example: Authentication required.
        data:
          type: object
          properties:
            status:
              type: integer
              example: 401
  securitySchemes:
    oauth2:
      type: oauth2
      description: WordPress.com OAuth 2.1, per https://public-api.wordpress.com/.well-known/openid-configuration
      flows:
        authorizationCode:
          authorizationUrl: https://public-api.wordpress.com/oauth2-1/authorize
          tokenUrl: https://public-api.wordpress.com/oauth2-1/token
          refreshUrl: https://public-api.wordpress.com/oauth2-1/token
          scopes:
            global: ''
            auth: ''
            openid: ''
            profile: ''
            email: ''
            users: ''
            sites: ''
            posts: ''
            comments: ''
            taxonomy: ''
            follow: ''
            sharing: ''
            freshly-pressed: ''
            notifications: ''
            insights: ''
            read: ''
            stats: ''
            media: ''
            menus: ''
            batch: ''
            videos: ''
    bearerAuth:
      type: http
      scheme: bearer