API Blueprint & Formats

API Blueprint syntax and how it compares to OpenAPI and Swagger, with copy-paste examples.

API Blueprint Response Codes: Documenting HTTP Status Codes and Error Bodies
API Blueprint & Formats

API Blueprint Response Codes: Documenting HTTP Status Codes and Error Bodies

A practical, syntax-first guide to writing API Blueprint response codes, covering every common HTTP status, structured error bodies, multiple responses per action, and how Apidoke renders them in the live three-column viewer.

API Blueprint URI Templates: Documenting Path Parameters Correctly
API Blueprint & Formats

API Blueprint URI Templates: Documenting Path Parameters Correctly

URI templates in API Blueprint follow RFC 6570 and let you declare dynamic path segments like {userId} directly in your resource heading. This guide walks through every expression type, shows real Blueprint syntax, and explains how Apidoke renders them in its live try-it console.

API Blueprint Annotations and Metadata: Adding Machine-Readable Hints
API Blueprint & Formats

API Blueprint Annotations and Metadata: Adding Machine-Readable Hints

API Blueprint supports a small but powerful set of metadata key-value pairs and annotation comments that sit at the top of your document or alongside resources. Tools like Drafter, Aglio, and Apidoke read these hints to control parsing, rendering, and linting behavior without any extra configuration files.

API Blueprint Media Types: Documenting Content-Type Negotiation
API Blueprint & Formats

API Blueprint Media Types: Documenting Content-Type Negotiation

Content-type negotiation is one of the trickier parts of any REST API to document well. This guide covers every API Blueprint media type mechanic, from the plus-sign format modifier to vendor types, with copy-paste syntax you can drop into Apidoke today.

API Blueprint Named Examples and Data Structures: Advanced Patterns
API Blueprint & Formats

API Blueprint Named Examples and Data Structures: Advanced Patterns

Named examples and data structures let you define a response body once and reference it everywhere. This guide covers the full pattern with copy-paste API Blueprint syntax, real JSON bodies, and how Apidoke renders them in its live three-column viewer.

API Blueprint Include Directive: Splitting Large Blueprints Into Files
API Blueprint & Formats

API Blueprint Include Directive: Splitting Large Blueprints Into Files

Large API Blueprint files become hard to maintain fast. The include directive lets you split one monolithic .apib file into focused, reusable modules, keeping your docs organized without sacrificing the single-file publishing experience.

API Blueprint Authentication Schemes: OAuth, API Keys, and Bearer Tokens
API Blueprint & Formats

API Blueprint Authentication Schemes: OAuth, API Keys, and Bearer Tokens

A precise, format-level guide to writing OAuth 2.0, API key, and Bearer token authentication schemes directly in API Blueprint files, with real syntax examples and Apidoke try-it console tips.

API Blueprint vs RAML: Which Format Fits Your Team?
API Blueprint & Formats

API Blueprint vs RAML: Which Format Fits Your Team?

API Blueprint and RAML are both human-readable API description formats, but they take very different approaches to structure and tooling. This guide breaks down the real differences so your team can choose confidently.

API Blueprint Action and Resource Model Explained
API Blueprint & Formats

API Blueprint Action and Resource Model Explained

Resources and actions are the core building blocks of every API Blueprint document. This guide breaks down exactly how they work, how they nest, and how Apidoke turns them into a live, interactive reference.

Documenting Webhooks in API Blueprint
API Blueprint & Formats

Documenting Webhooks in API Blueprint

Webhooks push data to your users instead of waiting for them to ask. Documenting them clearly is just as important as documenting your REST endpoints, and API Blueprint gives you a clean, readable syntax for doing exactly that.

API Documentation Templates: Ready-to-Use API Blueprint Examples
API Blueprint & Formats

API Documentation Templates: Ready-to-Use API Blueprint Examples

Ready-to-use API Blueprint templates for the most common REST API patterns, with annotated examples you can paste directly into Apidoke and publish as live, interactive documentation.

API Blueprint Cheat-Sheet: Request and Response Bodies (Deep Dive)
API Blueprint & Formats

API Blueprint Cheat-Sheet: Request and Response Bodies (Deep Dive)

A focused reference for modeling request and response bodies in API Blueprint, covering JSON payloads, headers, attributes, schema blocks, status codes, and how Apidoke renders each pattern live.

API Blueprint Syntax Cheat-Sheet
API Blueprint & Formats

API Blueprint Syntax Cheat-Sheet

Every API Blueprint keyword, block, and pattern you need in one place. Copy-paste examples, real HTTP status codes, and notes on how each construct renders inside Apidoke.

What Is API Blueprint? (Complete Guide)
API Blueprint & Formats

What Is API Blueprint? (Complete Guide)

API Blueprint is an open-source, Markdown-based format for describing REST APIs. This guide covers the syntax, real examples, how it compares to OpenAPI, and how Apidoke turns your Blueprint files into a live, interactive reference without any build toolchain.

API Blueprint is a Markdown-based, open-source format for describing REST APIs. You write plain-text .apib files using a human-readable syntax, and tools like Apidoke parse them into a fully navigable, three-column API reference with a live try-it console. This hub collects every format-focused guide, comparison, and tutorial published on Apidoke, giving you one place to go from zero to published docs.

  • API Blueprint is an open standard maintained at apiblueprint.org, so your docs are never locked to a single vendor.
  • Apidoke renders .apib files into a live three-column viewer with navigation, prose, and a browser-side try-it console in one step.
  • Self-hosting and version history are built in, meaning your team owns the data and can roll back any revision.
  • Auth tokens stay in the browser during live requests; they never transit Apidoke servers.

What is this category about?

The API Blueprint and Formats category covers the technical and editorial ground between choosing a description format and shipping production-quality docs. Articles here explain the spec itself, walk through real syntax, contrast API Blueprint with alternative formats, and show how Apidoke's editor and viewer handle each piece of the workflow. If you landed here from a search about the format, the spec, or how different description languages compare, you are in the right place.

Why API Blueprint still matters in 2026

API description formats are essentially contracts. They define what your API does, what it accepts, and what it returns, in a machine- and human-readable way. API Blueprint uses MSON (Markdown Syntax for Object Notation) and a heading hierarchy that reads almost like prose. A minimal resource block looks like this:

# Group Users

## User Collection [/users]

### List All Users [GET]

+ Response 200 (application/json)

        [
          { "id": 1, "name": "Ada Lovelace" },
          { "id": 2, "name": "Grace Hopper" }
        ]

That snippet is valid API Blueprint. Paste it into Apidoke's split-pane CodeMirror editor and the live preview column updates immediately, showing the formatted endpoint card, the HTTP method badge, and the 200 response body. No YAML indentation errors, no schema boilerplate required just to get started.

The format remains relevant because it prioritizes readability over machine-generation. Teams writing docs by hand, or teams migrating from narrative Word documents, find the learning curve significantly shorter than YAML-heavy alternatives. The API Blueprint specification is publicly versioned, openly licensed, and stable.

Articles in this category

What Is API Blueprint? (Complete Guide)

The foundation article. It defines API Blueprint, explains the file format, walks through the # Group, ## Resource, ### Action heading hierarchy, and shows real request and response blocks including headers, query parameters, and status codes like 401 Unauthorized and 404 Not Found. If you are new to the format, start here.

Read the complete API Blueprint guide

API Blueprint Syntax: A Practical Reference

This deep-dive covers every structural keyword in the spec: named types with MSON, request body payloads, multi-response actions, data structures, and the + Attributes block for typed parameters. Concrete copy-paste examples for GET, POST, PUT, PATCH, and DELETE methods, with real JSON request and response bodies throughout.

Open the API Blueprint syntax cheat-sheet

API Blueprint vs OpenAPI: Which Format Should You Choose?

A structured comparison of the most popular REST description formats. The article covers authoring experience, tooling ecosystem, schema expressiveness, and the practical tradeoffs for teams of different sizes. The comparison does not declare a winner; it maps each format to the context where it performs best.

Read API Blueprint vs OpenAPI vs Swagger

How Apidoke fits into the API Blueprint workflow

Most teams writing API Blueprint face the same sequence of problems: authoring the .apib file, previewing the output, hosting the rendered docs, keeping versions in sync with the codebase, and letting developers try live requests without leaving the reference page. Apidoke addresses each of those steps as a single self-hosted application.

  1. Write your API Blueprint document in the split-pane CodeMirror editor. The left pane is the raw .apib source; the right pane is a live-updating preview of the rendered reference.
  2. Preview every change instantly. The three-column viewer shows the navigation tree on the left, the prose and endpoint cards in the center, and the try-it console on the right, all updating as you type.
  3. Test endpoints directly from the docs. Enter your base URL and any auth headers; the browser fires the real HTTP request and displays the actual response, including status code, response headers, and body. Your credentials never leave the browser.
  4. Publish with one click. Apidoke generates a clean public URL for the rendered reference. No separate build step, no CI pipeline required to get started.
  5. Version your project. Every save creates a version snapshot. Browse the history, compare revisions, and restore any earlier state directly from the dashboard.
A split-pane editor on the left showing raw API Blueprint Markdown, with a three-column rendered preview on the right including navigation, endpoint card, and try-it console

Key API Blueprint concepts defined

TermWhat it means in API BlueprintExample
GroupA top-level navigation section containing related resources# Group Authentication
ResourceA URL path, optionally with a URI template for path parameters## Token [/auth/token]
ActionAn HTTP method on a resource, forming one endpoint card in the viewer### Create Token [POST]
RequestThe payload a client sends, including headers and body+ Request (application/json)
ResponseThe status code and body the server returns+ Response 201 (application/json)
MSONMarkdown Syntax for Object Notation; describes typed data structures inline+ Attributes (object)
Data StructuresReusable named types defined once and referenced across multiple actions# Data Structures section

Format comparisons: where does API Blueprint sit?

Three formats dominate the REST description space: API Blueprint, OpenAPI (formerly Swagger), and RAML. Each has a different design philosophy. API Blueprint prioritizes human authoring and narrative clarity. OpenAPI prioritizes machine generation and schema precision; it is defined by the OpenAPI Specification and typically written in YAML or JSON. RAML uses YAML with its own inheritance model.

Apidoke is built around API Blueprint. If your team writes docs by hand rather than generating them from code annotations, API Blueprint's Markdown structure tends to produce cleaner, more readable source files. For a broader look at how these format choices fit into a full documentation strategy, the complete guide to writing API documentation covers the end-to-end workflow including format selection.

Who should use this category?

These articles are written for three audiences. First, developers who are new to API description formats and need to understand what API Blueprint actually is before committing to it. Second, teams already writing API Blueprint who want syntax references, real examples, and a publishing workflow that does not require a custom toolchain. Third, decision-makers evaluating formats who want an honest, side-by-side comparison rather than vendor-driven marketing. Every article in this category includes copy-paste code, real HTTP method and status code examples, and Apidoke-specific workflow steps where relevant.

For a wider view of the documentation landscape, including tool comparisons and alternatives to common platforms, see the best API documentation tools guide for 2026.

A diagram showing the API Blueprint file format at the center, with arrows pointing to the three-column Apidoke viewer, the try-it console, and the version history panel

Frequently asked questions

What is API Blueprint used for?

API Blueprint is used to describe REST APIs in a plain-text Markdown format. Teams write .apib files that document endpoints, request payloads, response bodies, and status codes. Tools like Apidoke then render those files into a navigable, interactive API reference.

Is API Blueprint the same as OpenAPI or Swagger?

No. API Blueprint, OpenAPI, and Swagger are separate specification formats. OpenAPI and Swagger share a lineage (the Swagger 2.0 specification became the OpenAPI Specification, and OpenAPI 3.0 followed in 2017), while API Blueprint is an independent Markdown-based format with a different syntax and tooling ecosystem. They solve the same problem but with different design tradeoffs.

Can I publish API Blueprint docs without setting up a build pipeline?

Yes. Apidoke accepts your .apib source directly in its browser-based editor and publishes a rendered three-column reference with one click. There is no separate build step, no CLI tool to install, and no CI pipeline required to get from a blank file to a live public URL.

Where are API Blueprint files stored in Apidoke?

Apidoke stores your API Blueprint source and its version snapshots in the Apidoke instance you use: the hosted service, or your own server if you self-host, in which case you control the server and the data. Per-project version history lists the last 50 saves with their timestamps and comments, and you can restore any of them from the editor.

Do live try-it requests expose my API keys to Apidoke?

No. The try-it console fires HTTP requests directly from your browser. Auth headers and tokens are sent only to your API's base URL; they never pass through Apidoke's servers.

Ready to turn your first .apib file into a live, self-hosted API reference? Create your free Apidoke account and have a published three-column reference running in minutes, no credit card required.

Related reading: API Blueprint Syntax Cheat-Sheet

Related reading: API Blueprint Cheat-Sheet: Request and Response Bodies (Deep Dive)

Get API documentation tips in your inbox

New guides on API Blueprint, interactive docs, and developer experience, straight to your inbox. No spam, unsubscribe anytime.