Postiz Public API

The Public API from Postiz — 6 operation(s) for public.

GitHub OpenAPI

Operations 6

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 /public/agent Create a public agent · Public controller create agent #
Ask an LLM
“How do I create a public agent for my app?”
“Can I create an agent through the public API?”
Tell an agent
Create a public agent.
Set up a new public agent for my app.
GET /public/posts/{id} Preview a public post · Public controller get preview #
Ask an LLM
“How do I preview a public post before sharing it?”
“Can I see a preview of a public post by its ID?”
Tell an agent
Preview public post {id}.
Show me the preview of public post {id}.
GET /public/posts/{id}/comments List comments on a public post · Public controller get comments #
Ask an LLM
“How do I see the comments on a public post?”
“Can I list comments for a public post by its ID?”
Tell an agent
List comments on public post {id}.
Show the comments for public post {id}.
POST /public/t Track a public event · Public controller track event #
Ask an LLM
“How do I track an event from my public app?”
“Can I send a public event tracking call?”
Tell an agent
Track a public event.
Send a public event tracking call from my app.
POST /public/modify-subscription Modify a public subscription · Public controller modify subscription #
Ask an LLM
“How do I change a user's subscription through the public API?”
“Can I modify a public subscription?”
Tell an agent
Modify the public subscription.
Update the user's public subscription.
GET /public/stream Stream a public file · Public controller stream file #
Ask an LLM
“How do I stream a file from the public endpoint?”
“Can I stream a public file by its stream path?”
Tell an agent
Stream the public file.
Start streaming the public file.

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/postiz:postiz-public-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

postiz-public-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Postiz Swagger file Public API
  description: API description
  version: '1.0'
  contact: {}
servers: []
tags:
- name: Public
paths:
  /public/agent:
    post:
      operationId: PublicController_createAgent
      parameters: []
      responses:
        '201':
          description: ''
      tags:
      - Public
      summary: Public controller create agent
      x-summary-source: derived
  /public/posts/{id}:
    get:
      operationId: PublicController_getPreview
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Public
      summary: Public controller get preview
      x-summary-source: derived
  /public/posts/{id}/comments:
    get:
      operationId: PublicController_getComments
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Public
      summary: Public controller get comments
      x-summary-source: derived
  /public/t:
    post:
      operationId: PublicController_trackEvent
      parameters: []
      responses:
        '201':
          description: ''
      tags:
      - Public
      summary: Public controller track event
      x-summary-source: derived
  /public/modify-subscription:
    post:
      operationId: PublicController_modifySubscription
      parameters: []
      responses:
        '201':
          description: ''
      tags:
      - Public
      summary: Public controller modify subscription
      x-summary-source: derived
  /public/stream:
    get:
      operationId: PublicController_streamFile
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - Public
      summary: Public controller stream file
      x-summary-source: derived