Polyblog Articles API

The Articles API from Polyblog — 4 operation(s) for articles.

GitHub OpenAPI

Operations 5

GET /api/articles List articles #
POST /api/articles Create or update an article #
GET /api/articles/{idOrSlug} Get an article #
POST /api/articles/generate Generate an article with AI #
DELETE /api/articles/{articleId} Delete an article #

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/polyblog-io:polyblog-io-articles-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

polyblog-io-articles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Polyblog Articles API
  version: 1.0.0
servers:
- url: https://api.polyblog.io
tags:
- name: Articles
paths:
  /api/articles:
    get:
      tags:
      - Articles
      summary: List articles
      description: Lists the articles of a blog. Requires the `articles:read` scope. Anonymous (unauthenticated) callers only ever see published articles; drafts are visible only to an API key or operator token of the owning organization.
      security:
      - apiKey: []
      - accessToken: []
      parameters:
      - in: query
        name: blogId
        required: true
        schema:
          type: string
      - in: query
        name: locale
        schema:
          type: string
      - in: query
        name: published
        schema:
          type: boolean
      - in: query
        name: slug
        schema:
          type: string
      - in: query
        name: limit
        schema:
          type: integer
          default: 0
      - in: query
        name: skip
        schema:
          type: integer
          default: 0
      responses:
        '200':
          description: A list of articles
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    _id:
                      type: string
                    blogId:
                      type: string
                    title:
                      type: string
                    description:
                      type: string
                    content:
                      type: string
                    slug:
                      type: string
                    locale:
                      type: string
                    coverUrl:
                      type: string
                    published:
                      type: boolean
                    creationTime:
                      type: string
                      format: date-time
                    lastEditTime:
                      type: string
                      format: date-time
        '401':
          description: Missing or invalid credentials
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: API key is missing the `articles:read` scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: API key rate limit exceeded
          headers:
            Retry-After:
              description: Seconds until the request may be retried.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getApiArticles
    post:
      tags:
      - Articles
      summary: Create or update an article
      description: Creates an article (or updates one when the body carries an existing `_id`). Requires the `articles:write` scope. Fires the `article.created` webhook.
      security:
      - apiKey: []
      - accessToken: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                blogId:
                  type: string
                title:
                  type: string
                content:
                  type: string
                slug:
                  type: string
                locale:
                  type: string
                published:
                  type: boolean
      responses:
        '200':
          description: The created or updated article
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Entity'
        '401':
          description: Missing or invalid credentials
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: API key is missing the `articles:write` scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: API key rate limit exceeded
          headers:
            Retry-After:
              description: Seconds until the request may be retried.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postApiArticles
  /api/articles/{idOrSlug}:
    get:
      tags:
      - Articles
      summary: Get an article
      description: Returns a single article by id or slug. Requires the `articles:read` scope. An article belonging to another organization responds 404 so ids cannot be probed. Anonymous callers can only read a published article; a draft responds 404 unless the caller is an API key or operator token of the owning organization.
      security:
      - apiKey: []
      - accessToken: []
      parameters:
      - in: path
        name: idOrSlug
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The article
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Entity'
        '404':
          description: Not found (or owned by another organization / unpublished)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getApiArticlesIdOrSlug
  /api/articles/generate:
    post:
      tags:
      - Articles
      summary: Generate an article with AI
      description: Generates (and by default publishes) an SEO article for a blog. Requires the `articles:write` scope. Fires the `article.created` webhook when the generated article is persisted.
      security:
      - apiKey: []
      - accessToken: []
      responses:
        '200':
          description: The generated article and metadata
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Entity'
        '403':
          description: API key is missing the `articles:write` scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postApiArticlesGenerate
  /api/articles/{articleId}:
    delete:
      tags:
      - Articles
      summary: Delete an article
      description: Deletes an article. Requires the `articles:write` scope. An article owned by another organization responds 404. Fires the `article.deleted` webhook.
      security:
      - apiKey: []
      - accessToken: []
      parameters:
      - in: path
        name: articleId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The deleted article id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Entity'
        '404':
          description: Not found (or owned by another organization)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: deleteApiArticlesArticleId
components:
  schemas:
    Error:
      type: object
      description: Structured JSON API error.
      required:
      - name
      - message
      - status
      properties:
        name:
          type: string
        message:
          type: string
        status:
          type: integer
        details:
          type: object
          additionalProperties: true
    Entity:
      type: object
      description: A Polyblog resource. Fields vary by endpoint and requested projection.
      additionalProperties: true
  securitySchemes:
    apiKey:
      type: http
      scheme: basic
      description: 'HTTP Basic auth carrying only the API key secret: Authorization: Basic base64(<key secret>).'
    accessToken:
      type: apiKey
      in: header
      name: Authorization
      description: 'Operator session token issued by the Polyblog dashboard: Authorization: Token <access token>.'