Knock Partials API

Partials allow you to reuse content across templates.

Operations 4

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

GET /v1/partials List template partials · List partials #
Ask an LLM
“Which reusable partials are available in this environment?”
“Can I list partials on a branch?”
Tell an agent
List partials in {environment}.
Show {limit} partials on branch {branch} in {environment}.
GET /v1/partials/{partial_key} Get a template partial by key · Get a partial #
Ask an LLM
“How do I see the content of one reusable partial?”
“Can I fetch a partial without uncommitted edits?”
Tell an agent
Get partial {partial_key} in {environment}.
Show the {partial_key} partial.
PUT /v1/partials/{partial_key} Create or update a template partial · Upsert a partial #
Ask an LLM
“How do I create a reusable template block for my notifications?”
“Can I commit a partial change as I save it?”
Tell an agent
Upsert partial {partial_key} in {environment} with {partial}.
Save partial {partial_key} and commit with message {commit_message} in {environment}.
PUT /v1/partials/{partial_key}/validate Validate a partial without saving · Validate a partial #
Ask an LLM
“Can I check a partial for errors before saving it?”
“Is there a dry run for partial payloads?”
Tell an agent
Validate partial payload {partial} for {partial_key} in {environment}.
Check partial {partial_key} definition {partial} without persisting it in {environment}.

Documentation

Specifications

Schemas & Data

Other Resources

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/knock-app:knock-app-partials-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

knock-app-partials-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Knock Management API (mAPI) Partials API
  version: '1.0'
  description: Knock Management API (mAPI) — the resource-management surface for Knock. Programmatic CRUD over Workflows, Channels, Email Layouts, Partials, Templates, Translations, Audiences, Broadcasts, Guides, Message Types, Variables, Members, Channel Groups, Environments, Branches, Commits, and API Keys. Distinct from the runtime Knock API (api.knock.app) — mAPI lives at control.knock.app and is what powers the Knock CLI and MCP server.
  contact:
    name: Knock
    url: https://knock.app
servers:
- url: https://control.knock.app
  variables: {}
security:
- BearerAuth: []
tags:


# --- truncated at 32 KB (47 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/knock-app/refs/heads/main/openapi/knock-app-partials-api-openapi.yml